Update embedded YABNF grammar once tree-sitter-yabnf fixes are available #5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The YABNF grammar was added in v0.6.5 (commit
5a3fce8). However, the embeddedtree-sitter-yabnfgrammar has parsing issues that prevent it from highlighting real YABNF output.See: https://codeberg.org/hum3/tree-sitter-yabnf/issues/2
What needs to happen
Once
tree-sitter-yabnffixes the two issues (UTF-8 in%sliterals, escaped quotes in@pattern), regenerate and re-embed the YABNF grammar in gotreesitter:grammars/yabnf_gen.goVerification
Currently the entire file parses as a single ERROR node, and highlighting stops partway through at the
arrowrule.Migrated from Codeberg: originally #5, opened 2026-03-24.