-
-
Notifications
You must be signed in to change notification settings - Fork 142
Open
Labels
Description
Did you check existing issues?
- I have read all the tree-sitter docs if it relates to using the parser
- I have searched the existing issues of tree-sitter-cpp
Tree-Sitter CLI Version, if relevant (output of tree-sitter --version)
No response
Describe the bug
There should be an INJECTIONS_QUERY in the Rust bindings, but there isn't one.
Steps To Reproduce/Bad Parse Tree
- Try to import
INJECTIONS_QUERYwithuse tree_sitter_cpp::INJECTIONS_QUERY;.
Expected Behavior/Parse Tree
INJECTIONS_QUERY should be included in the Rust bindings.
/// The syntax highlighting query for languages injected into this one.
pub const INJECTIONS_QUERY: &str = include_str!("../../queries/injections.scm");It should be usable with:
use tree_sitter_cpp::INJECTIONS_QUERY;