refactor(nvim): move plugin config to the
... `after/plugin` directory
This commit is contained in:
parent
8cf3fed368
commit
7d3b82884c
13 changed files with 4 additions and 14 deletions
19
roles/neovim/files/after/plugin/comment.lua
Normal file
19
roles/neovim/files/after/plugin/comment.lua
Normal file
|
@ -0,0 +1,19 @@
|
|||
local status_ok, comment = pcall(require, "Comment")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
comment.setup {
|
||||
padding = true,
|
||||
|
||||
opleader = {
|
||||
line = "gc",
|
||||
block = "gb",
|
||||
},
|
||||
|
||||
mappings = {
|
||||
basic = true,
|
||||
extra = true,
|
||||
extended = false,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue