nvim.d/neovim/lua/config/treesitter.lua

25 lines
339 B
Lua
Raw Permalink 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",
"hcl",
"json",
2022-03-26 20:02:55 +00:00
"lua",
"make",
2022-03-26 20:02:55 +00:00
"python",
"yaml",
2022-03-26 20:02:55 +00:00
},
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}