Skip to content

Commit

Permalink
feat: add tags query to Rust bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
Squadrick authored Nov 16, 2023
1 parent 25371f9 commit 4add3bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bindings/rust/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ pub const HIGHLIGHT_QUERY: &str = include_str!("../../queries/highlights.scm");
/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types
pub const NODE_TYPES: &str = include_str!("../../src/node-types.json");

/// The symbol tagging query for this language.
pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");

#[cfg(test)]
mod tests {
#[test]
Expand Down

0 comments on commit 4add3bb

Please sign in to comment.