2024-10-11 23:27:07 +03:00
|
|
|
{ ... }:
|
|
|
|
{
|
|
|
|
text = ''
|
|
|
|
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,
|
|
|
|
disable = { "lua" },
|
|
|
|
},
|
|
|
|
indent = {
|
|
|
|
enable = true,
|
|
|
|
},
|
|
|
|
autotag = {
|
|
|
|
enable = true
|
|
|
|
},
|
|
|
|
rainbow = {
|
|
|
|
enable = true
|
|
|
|
},
|
|
|
|
}
|
|
|
|
'';
|
2024-04-06 03:03:58 +03:00
|
|
|
}
|