fix: update tree-sitter parser URL to Gitea

Change the default ts_parser_url from the local file:// path to the
Gitea-hosted tia-lsp repository, so :TSInstall scl works out of the
box after the repo split.
This commit is contained in:
2026-07-18 11:49:16 +02:00
parent 8255db7f64
commit bd50f7b459
+1 -3
View File
@@ -86,10 +86,8 @@ function M.setup_syntax(opts)
parser_config.scl = { parser_config.scl = {
install_info = { install_info = {
-- Override via setup({ ts_parser_url = "https://your-gitea/tia-lsp.git" }). -- Override via setup({ ts_parser_url = "https://your-gitea/tia-lsp.git" }).
-- Default is the upstream TIA Portal LSP server repo (placeholder until
-- the split is complete; see README "Mason installation").
url = opts.ts_parser_url url = opts.ts_parser_url
or "file://" .. vim.fn.expand("~/dev/tia-lsp"), or "https://gitea.l-tech.rs/lazar/tia-lsp.git",
files = { "src/parser.c" }, files = { "src/parser.c" },
generate_requires_npm = false, generate_requires_npm = false,
requires_generate_from_grammar = false, requires_generate_from_grammar = false,