26 lines
370 B
Lua
26 lines
370 B
Lua
local ok, treesitter = pcall(require, "nvim-treesitter.configs")
|
|
|
|
if not ok then
|
|
return
|
|
end
|
|
|
|
treesitter.setup {
|
|
ensure_installed = {
|
|
"bash",
|
|
"go",
|
|
"gomod",
|
|
"hcl",
|
|
"json",
|
|
"lua",
|
|
"make",
|
|
"python",
|
|
"yaml",
|
|
"terraform",
|
|
"vimdoc",
|
|
},
|
|
|
|
highlight = {
|
|
enable = true,
|
|
additional_vim_regex_highlighting = false,
|
|
},
|
|
}
|