more restructure
This commit is contained in:
22
lua/plugins/comment.lua
Normal file
22
lua/plugins/comment.lua
Normal file
@ -0,0 +1,22 @@
|
||||
return {
|
||||
'numToStr/Comment.nvim',
|
||||
config = function()
|
||||
require('Comment').setup({
|
||||
mappings = false,
|
||||
})
|
||||
end,
|
||||
keys = {
|
||||
{
|
||||
'<c-c>',
|
||||
'<Plug>(comment_toggle_linewise_current)',
|
||||
desc= 'Toggle comment'
|
||||
},
|
||||
|
||||
{
|
||||
'<c-c>',
|
||||
'<Plug>(comment_toggle_linewise_visual)gv',
|
||||
mode = 'v',
|
||||
desc= 'Toggle comment'
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user