dotfiles/lua/plugins/comment.lua
Joshua Finch 487f874984 Massive rewrite and modularization of the existing neovim config to
break it up into multiple files and to use a maintained package manager
(lazy.nvim)
2024-02-29 21:22:09 -06:00

17 lines
360 B
Lua

return {
'numToStr/Comment.nvim',
config = function()
require('Comment').setup {
ignore = '^$',
toggler = {
line = 'gc',
block = '<nop>',
},
}
end,
keys = {
{ '<leader>c', ':norm gcc<CR>' },
{ '<leader>c', ':norm gc<CR>', mode = 'v' },
}
}