nix/module/common/nvim/plugin/Treesitter.lua
2024-03-04 03:04:57 +03:00

21 lines
385 B
Lua

require("nvim-treesitter.configs").setup {
parser_install_dir = "~/.cache/nvim/treesitter",
auto_install = true,
-- ensure_installed = "all",
sync_install = false,
highlight = {
additional_vim_regex_highlighting = false,
enable = true,
use_languagetree = true,
},
indent = {
enable = true,
},
autotag = {
enable = true
},
rainbow = {
enable = true
},
}