nvim.d/nvim/lua/plugins/config/treesitter.lua

29 lines
397 B
Lua
Raw Normal View History

local ok, treesitter = pcall(require, "nvim-treesitter.configs")
if not ok then
return
end
treesitter.setup {
2022-03-26 20:02:55 +00:00
ensure_installed = {
"bash",
"go",
"gomod",
"gosum",
"gotmpl",
"hcl",
"json",
2022-03-26 20:02:55 +00:00
"lua",
"make",
2022-03-26 20:02:55 +00:00
"python",
"yaml",
2023-04-11 07:36:36 +01:00
"terraform",
"vimdoc",
2022-03-26 20:02:55 +00:00
},
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}