29
lua/taken/plugins/comment.lua
Normal file
29
lua/taken/plugins/comment.lua
Normal file
@@ -0,0 +1,29 @@
|
||||
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,
|
||||
})
|
||||
Reference in New Issue
Block a user