2021-12-23 23:13:45 +00:00
|
|
|
local status_ok, comment = pcall(require, "Comment")
|
|
|
|
if not status_ok then
|
|
|
|
return
|
|
|
|
end
|
|
|
|
|
|
|
|
comment.setup {
|
2021-12-04 01:30:38 +00:00
|
|
|
padding = true,
|
|
|
|
|
|
|
|
opleader = {
|
2022-01-09 00:07:35 +00:00
|
|
|
line = "gc",
|
|
|
|
block = "gb",
|
2021-12-04 01:30:38 +00:00
|
|
|
},
|
|
|
|
|
|
|
|
mappings = {
|
|
|
|
basic = true,
|
|
|
|
extra = true,
|
|
|
|
extended = false,
|
|
|
|
},
|
|
|
|
}
|