tree-sitter
tree-sitter copied to clipboard
Add Custom Predicates to tree-sitter-highlight?
Hi, I might have missed this, but is it possible for a consumer of the tree-sitter-highlight crate to implement custom predicates in Rust to handle matches?
I couldn't figure out if there was any way to hook into the other predicates without modifying the source of tree-sitter-highlight.
I saw there is satisfies_text_predicates but that seems like it only handles the ones that ship by default with the crate.
Thanks!