diff --git a/nvim/lua/plugins/util/arborist.lua b/nvim/lua/plugins/util/arborist.lua new file mode 100644 index 0000000..39f1aaa --- /dev/null +++ b/nvim/lua/plugins/util/arborist.lua @@ -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, +} diff --git a/nvim/lua/plugins/util/treesitter.lua b/nvim/lua/plugins/util/treesitter.lua deleted file mode 100755 index de71a4c..0000000 --- a/nvim/lua/plugins/util/treesitter.lua +++ /dev/null @@ -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, -}