22 lines
347 B
Lua
22 lines
347 B
Lua
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,
|
|
},
|
|
matchup = {
|
|
enable = true,
|
|
}
|
|
}
|