Compare commits
2 Commits
2efc69cc16
...
9aed284dbe
Author | SHA1 | Date | |
---|---|---|---|
9aed284dbe | |||
3892bc9389 |
@ -1,21 +0,0 @@
|
|||||||
-- Author : swytch
|
|
||||||
-- Created : Sunday Jan. 29, 2023 00:20:31 CET
|
|
||||||
-- License : GPLv3
|
|
||||||
-- Description : Mini.comment plugin config file
|
|
||||||
|
|
||||||
return {
|
|
||||||
"echasnovski/mini.comment",
|
|
||||||
version = "*",
|
|
||||||
opts = {
|
|
||||||
mappings = {
|
|
||||||
comment = "<leader>c",
|
|
||||||
|
|
||||||
comment_line = "<leader><Space>",
|
|
||||||
|
|
||||||
text_object = "gc",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
config = function(_, opts)
|
|
||||||
require("mini.comment").setup(opts)
|
|
||||||
end,
|
|
||||||
}
|
|
28
.config/nvim/lua/plugin/editor.lua
Normal file
28
.config/nvim/lua/plugin/editor.lua
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
-- Author : swytch
|
||||||
|
-- Created : Sunday Jan. 29, 2023 00:20:31 CET
|
||||||
|
-- License : GPLv3
|
||||||
|
-- Description : Mini.comment plugin config file
|
||||||
|
|
||||||
|
return {
|
||||||
|
{
|
||||||
|
"echasnovski/mini.comment",
|
||||||
|
version = "*",
|
||||||
|
opts = {
|
||||||
|
mappings = {
|
||||||
|
comment = "<leader>c",
|
||||||
|
|
||||||
|
comment_line = "<leader><Space>",
|
||||||
|
|
||||||
|
text_object = "gc",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
config = function(_, opts)
|
||||||
|
require("mini.comment").setup(opts)
|
||||||
|
end
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"echasnovski/mini.pairs",
|
||||||
|
version = "*",
|
||||||
|
config = function() require("mini.pairs").setup() end,
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user