feat(nvim): Enhanced treesitter and separate configs

This commit is contained in:
js0ny 2025-04-08 19:05:42 +01:00
parent 6eff59e387
commit bc0b70b0f9
2 changed files with 21 additions and 18 deletions

View file

@ -0,0 +1,20 @@
return {
{ "nvim-treesitter/nvim-treesitter-context", lazy = true },
{
"nvim-treesitter/nvim-treesitter",
run = ":TSUpdate",
cmd = {
"TSInstall",
"TSUpdate",
"TSUpdateSync",
},
event = {
"BufReadPre",
},
opts = {
ensure_installed = { "c", "lua", "vim", "vimdoc", "markdown", "markdown_inline" },
highlight = { enable = true },
indent = { enable = true },
},
},
}