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
18
roles/neovim/files/after/plugin/treesitter.lua
Normal file
18
roles/neovim/files/after/plugin/treesitter.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
local status_ok, configs = pcall(require, "nvim-treesitter.configs")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
configs.setup {
|
||||
context_commenting = {
|
||||
enable = true,
|
||||
},
|
||||
ensure_installed = "maintained",
|
||||
highlight = {
|
||||
enable = true,
|
||||
},
|
||||
indent = {
|
||||
disable = { "yaml" },
|
||||
enable = true,
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue