Merge branch 'dev' into venus
nvim: rename comment.lua to editor.lua add mini.pairs
This commit is contained in:
commit
097d451be7
@ -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