[nvim] feat: add mini.pairs

This commit is contained in:
David JULIEN 2023-02-08 22:54:00 +01:00
parent 3892bc9389
commit 9aed284dbe
1 changed files with 17 additions and 10 deletions

View File

@ -4,18 +4,25 @@
-- Description : Mini.comment plugin config file -- Description : Mini.comment plugin config file
return { return {
"echasnovski/mini.comment", {
version = "*", "echasnovski/mini.comment",
opts = { version = "*",
mappings = { opts = {
comment = "<leader>c", mappings = {
comment = "<leader>c",
comment_line = "<leader><Space>", comment_line = "<leader><Space>",
text_object = "gc", text_object = "gc",
},
}, },
config = function(_, opts)
require("mini.comment").setup(opts)
end
}, },
config = function(_, opts) {
require("mini.comment").setup(opts) "echasnovski/mini.pairs",
end, version = "*",
config = function() require("mini.pairs").setup() end,
}
} }