added Comment.nvim; testing removing ability to wrap text

This commit is contained in:
2026-02-09 01:47:59 -07:00
parent d05390b2e7
commit bf4008358d
2 changed files with 35 additions and 1 deletions

View File

@@ -156,4 +156,38 @@ return {
},
},
},
-- Help comment and uncomment lines
{
'numToStr/Comment.nvim',
opts = {
padding = true,
-- LHS of toggle mappings in NORMAL mode
toggler = {
line = 'gcc',
block = 'gbc',
},
-- LHS of operator-pending mappings in NORMAL and VISUAL
opleader = {
line = "gc",
block = "gb",
},
-- LHS of extra mappings
extra = {
-- Add comment on the line above
above = 'gcO',
-- Add comment on the line below
below = 'gco',
-- Add comment at the end of line
eol = 'gcA',
},
mappings = {
basic = true,
extra = true,
},
},
},
}