summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSearidang Pa <dangsyncpa@gmail.com>2026-01-09 22:35:28 -0500
committerSearidang Pa <dangsyncpa@gmail.com>2026-01-09 22:35:28 -0500
commit09636bbb542da72b059fa28213b327c2da57a1e8 (patch)
treea3d70f68b50630fcbfd6029d1dfc8f1e45595d3a
parent52026fdf58c4fa10629d3f4ea985e1bb4bc00b45 (diff)
downloada4-09636bbb542da72b059fa28213b327c2da57a1e8.tar.xz
a4-09636bbb542da72b059fa28213b327c2da57a1e8.zip
add support for all the languages back
-rw-r--r--scripts/ci/install_treesitter_parsers.lua27
1 files changed, 26 insertions, 1 deletions
diff --git a/scripts/ci/install_treesitter_parsers.lua b/scripts/ci/install_treesitter_parsers.lua
index 8c58601..6393fd8 100644
--- a/scripts/ci/install_treesitter_parsers.lua
+++ b/scripts/ci/install_treesitter_parsers.lua
@@ -15,7 +15,21 @@ if not ok_setup then
end
local ok_install, install_err = pcall(function()
- require("nvim-treesitter").install({ "lua", "typescript" }):wait(300000)
+ require("nvim-treesitter").install({
+ "c",
+ "cpp",
+ "go",
+ "lua",
+ "php",
+ "python",
+ "typescript",
+ "javascript",
+ "java",
+ "ruby",
+ "tsx",
+ "c_sharp",
+ "vue",
+ }):wait(300000)
end)
if not ok_install then
@@ -26,8 +40,19 @@ if not ok_install then
end
local required_parsers = {
+ c = "c.so",
+ cpp = "cpp.so",
+ go = "go.so",
lua = "lua.so",
+ php = "php.so",
+ python = "python.so",
typescript = "typescript.so",
+ javascript = "javascript.so",
+ java = "java.so",
+ ruby = "ruby.so",
+ tsx = "tsx.so",
+ c_sharp = "c_sharp.so",
+ vue = "vue.so",
}
for lang, filename in pairs(required_parsers) do