[nvim] feat: add mini.pairs
This commit is contained in:
parent
3892bc9389
commit
9aed284dbe
@ -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,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user