feat(highlighting): TS plugin deprecated, replace with Arborist

Arborist is now used to manage the treesitter parsers,
as nvim-treesitter was archived earlier this month
This commit is contained in:
2026-04-14 11:37:42 +02:00
parent 35a331f827
commit c78d5756b9
2 changed files with 37 additions and 59 deletions
+37
View File
@@ -0,0 +1,37 @@
return {
-- Treesitter parser support
"arborist-ts/arborist.nvim",
config = function()
require("arborist").setup({
update_cadence = "weekly",
prefer_wasm = false,
install_popular = false,
ensure_installed = {
"asm",
"bash",
"c",
"cpp",
"css",
"gotmpl",
"haskell",
"helm",
"html",
"hyprlang",
"java",
"javadoc",
"javascript",
"jsdoc",
"json",
"lua",
"markdown",
"python",
"scss",
"toml",
"typescript",
"tsx",
"xml",
"yaml",
},
})
end,
}
-59
View File
@@ -1,59 +0,0 @@
return {
-- syntax highlighting
"nvim-treesitter/nvim-treesitter",
branch = "master",
event = { "BufRead", "BufNewFile" },
build = ":TSUpdate",
config = function()
require("nvim-treesitter.configs").setup({
ensure_installed = {
"asm",
"bash",
"c",
"cpp",
"css",
"gotmpl",
"haskell",
"helm",
"html",
"hyprlang",
"java",
"javadoc",
"javascript",
"jsdoc",
"json",
"jsonc",
-- "latex",
"lua",
"markdown",
"meson",
"nginx",
"php",
"python",
"rasi",
"requirements",
"robots",
"ruby",
"rust",
"scss",
"sql",
"svelte",
"swift",
"toml",
"typescript",
"tsx",
"verilog",
"vue",
"xml",
"yaml",
"zathurarc",
},
sync_install = false,
highlight = {
enable = true,
disable = { "tex" },
},
})
end,
}