dotfiles/.config/nvim/lua/plugins/nvim-treesitter.lua
2022-10-19 20:32:49 +02:00

15 lines
460 B
Lua

require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all"
ensure_installed = { "lua", "python", "java" },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
highlight = {
-- `false` will disable the whole extension
enable = true,
-- Using this option may slow down your editor, and you may see some duplicate highlights.
additional_vim_regex_highlighting = false,
},
}