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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user