nvim: plugins: Switch to Comment.nvim from commentary.vim

This commit is contained in:
Sanchayan Maity 2021-10-17 13:01:47 +05:30
parent e743090e85
commit 936e6149de
2 changed files with 20 additions and 1 deletions

View file

@ -0,0 +1,19 @@
require('Comment').setup{
padding = true,
ignore = nil,
mappings = {
basic = true,
extra = true,
extended = false,
},
toggler = {
line = 'gcc',
block = 'gbc',
},
opleader = {
line = 'gc',
block = 'gb',
},
pre_hook = nil,
post_hook = nil,
}

View file

@ -57,9 +57,9 @@ local init = function ()
'kana/vim-textobj-entire',
'idbrii/textobj-word-column.vim',
}
use 'numToStr/Comment.nvim'
-- Tim pope essentials
use {
'tpope/vim-commentary',
'tpope/vim-repeat',
'tpope/vim-sleuth'
}