Export grammar and highlighting consts in Rust bindings
JosiahParry opened this issue · 0 comments
JosiahParry commented
All tree-sitter rust bindings I've encountered provide consts with the grammar, highlighting rules, etc to be able to be used with tree-sitter-highlight
. For example tree-sitter-javascript
. However, these are not provided in tree-sitter-r.
Could they be included in the next crates.io release?
I will note that I did try including the files grammar.js
and the scm
files but the highlights.scm
file caused a panic with tree-sitter
—perhaps the syntax rules changed?