Skip to content

community/tree-sitter: set current directory as header path

Matthias Ahouansou requested to merge Kladky/aports:tree-sitter into master

Should fix issues with some tree-sitter grammars failing to load. Related: !54521 (closed)

EDIT: I will try to fix as many grammars as possible in this pr, so at the very least if they work correctly when built via helix, they should work correctly in aports. Note: I am not a clang developer, nor am I familiar with the toolchains surrounding it, so please keep that in mind.

grammar pre-mr helix (23.05) post-mr
bash
c
c-sharp
cmake
comment
cpp
css
elixir
elm
embedded-template
git-commit
git-diff
git-rebase
go
go-mod
hare
hcl
html
ini
java
javascript
jsdoc
json
julia
kotlin
latex
lua
python
regex
ruby
rust
scala
ssh-client-config
toml
tsq
typescript

: No highlights in helix and error is thrown in logs

: No/Partial highlights in helix but error is not thrown in logs

: Highlights work and no errors are thrown in logs

If anyone has any ideas on how to automate these tests, that would be appreciated.

Edited by Matthias Ahouansou

Merge request reports