Moving to individual plugin files for lazy

Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
2023-09-03 13:36:05 +02:00
parent e9fad30daf
commit 93d665867b
37 changed files with 1130 additions and 1205 deletions

View File

@@ -1,29 +1,30 @@
local setup, comment = pcall(require, "Comment")
if not setup then
return
end
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,
})
return {
"numToStr/Comment.nvim",
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,
}