Skip to content

Commit 4add3bb

Browse files
authored
feat: add tags query to Rust bindings
1 parent 25371f9 commit 4add3bb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bindings/rust/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ pub const HIGHLIGHT_QUERY: &str = include_str!("../../queries/highlights.scm");
5454
/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types
5555
pub const NODE_TYPES: &str = include_str!("../../src/node-types.json");
5656

57+
/// The symbol tagging query for this language.
58+
pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");
59+
5760
#[cfg(test)]
5861
mod tests {
5962
#[test]

0 commit comments

Comments
 (0)