qvalentin
qvalentin
Fixed in https://github.com/mrjosh/helm-ls/pull/79
> You can just `; inherits lang` for one language's highlights/indents, and have different injection queries for them This is being used in this PR. But the problem is more...
> vim.treesitter.language.register I'm afraid that won't work. As the readme states: > vim.treesitter.language.register('python', 'someft') -- the someft filetype will use the python parser **and queries**. But I need to use...
Thanks for the example, good to know we are not the only ones with that problem. Looks like a rational solution.
Thanks a lot for your input, this is really cool to work on.
> No, I'm talking about the injection query here. Right now, all `(text)` nodes are unconditionally injected with `yaml`. I'd start with trying to find out why you get YAML...
I did some more experiments and found out the following: Calling ts_parser_set_included_ranges (what I assume is used for injections) does not prevent the parser from creating nodes that include ranges...
Really sad that even with the log level set to debug, you get no info why the instance is wrong.
This would revert https://github.com/mrjosh/helm-ls/pull/14
Using helm as a library does not seem uncommon, quite a lot of projects do this: https://github.com/helm/helm/network/dependents?package_id=UGFja2FnZS0yMjY3Mjg4NjYw