This commit is contained in:
2026-01-04 03:02:38 -05:00
commit 349645a9ca
13 changed files with 246 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
return {
'nvim-treesitter/nvim-treesitter',
lazy = false,
build = ':TSUpdate',
config = function()
require'nvim-treesitter'.setup {
ensure_installed = {"help", "vim", "c", "lua", "vimdoc", "python", "json", "rust"},
auto_install = true,
highlight = {enable = true},
additional_vim_regex_highlighting = false
}
vim.wo[0][0].foldexpr = 'v:lua.vim.treesitter.foldexpr()'
vim.wo[0][0].foldmethod = 'expr'
end
}