Files
neovim-config/after/plugin/treesitter.lua
2023-06-20 10:23:44 +02:00

16 lines
339 B
Lua

local status, treesitter = pcall(require, "nvim-treesitter.configs")
if not status then
return
end
treesitter.setup {
ensure_installed = { "lua", "vim", "vimdoc", "javascript", "java", "json" },
sync_install = false,
auto_install = true,
highlight = {
enable = true,
additional_vim_regex_highlighting = false,
},
}