32 lines
748 B
Lua
32 lines
748 B
Lua
return {
|
|
"numToStr/Comment.nvim",
|
|
event = "BufEnter, BufNew",
|
|
config = function()
|
|
local comment = require("Comment")
|
|
comment.setup({
|
|
padding = true,
|
|
sticky = true,
|
|
ignore = nil,
|
|
toggler = {
|
|
line = "gcc",
|
|
block = "gbc",
|
|
},
|
|
opleader = {
|
|
line = "gc",
|
|
block = "gb",
|
|
},
|
|
extra = {
|
|
above = "gcO",
|
|
below = "gco",
|
|
eol = "gcA",
|
|
},
|
|
mappings = {
|
|
basic = true,
|
|
extra = true,
|
|
},
|
|
pre_hook = nil,
|
|
post_hook = nil,
|
|
})
|
|
end,
|
|
}
|