Update grammar for Tree-sitter ABI 14 compatibility#1
Update grammar for Tree-sitter ABI 14 compatibility#1BernardIgiri wants to merge 1 commit intoprojectfluent:masterfrom
Conversation
|
Are all the changes in this PR generated by that one command? Even the |
Yes, Then And adds: I'm thinking that |
|
Strictly necessary or not I'll review them differently knowing they are auto-generated from project-adjacent tooling than I would if they were concocted by one party according to their preferences and combined with something else auto-generated. That being said it probably makes sense to split this into at least 2 commits to see what is happening where, and to make future updates to either of these actions more direly comparable to ease future reviews as well. |
I'm moving this PR to #2 so I can continue using this repo for my personal use of Helix Editor. That PR separates the changes into 2 commits as requested. |
This updates the grammar to work with [Tree-sitter ABI 14](https://tree-sitter.github.io/tree-sitter/using-parsers#abi-compatibility), which is required by Helix Editor 25 and other modern tooling.
I was trying to use this grammar in Helix, but encountered this error:
To fix it, I re-initialized the grammar with
tree-sitter init, then regenerated the parser with:I also verified syntax highlighting by adding a grammar entry to Helix:
And using the following
highlights.scmquery file:With this, Fluent
.ftlfiles now display correctly in Helix 25.Let me know if any changes are required. Thank you!