From bd50f7b4593c4e43b9a49d94585fb237645835d1 Mon Sep 17 00:00:00 2001 From: Lazar Bulovan Date: Sat, 18 Jul 2026 11:49:16 +0200 Subject: [PATCH] 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. --- lua/tia_lsp/init.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lua/tia_lsp/init.lua b/lua/tia_lsp/init.lua index 9ba4357..abe09e8 100644 --- a/lua/tia_lsp/init.lua +++ b/lua/tia_lsp/init.lua @@ -86,10 +86,8 @@ function M.setup_syntax(opts) parser_config.scl = { install_info = { -- 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 - or "file://" .. vim.fn.expand("~/dev/tia-lsp"), + or "https://gitea.l-tech.rs/lazar/tia-lsp.git", files = { "src/parser.c" }, generate_requires_npm = false, requires_generate_from_grammar = false,