Did you check existing issues?
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_QUERY with use 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;
Repro
Did you check existing issues?
Tree-Sitter CLI Version, if relevant (output of
tree-sitter --version)No response
Describe the bug
There should be an
INJECTIONS_QUERYin the Rust bindings, but there isn't one.Steps To Reproduce/Bad Parse Tree
INJECTIONS_QUERYwithuse tree_sitter_cpp::INJECTIONS_QUERY;.Expected Behavior/Parse Tree
INJECTIONS_QUERYshould be included in the Rust bindings.It should be usable with:
Repro