Skip to content

Commit 0f14a10

Browse files
author
Patrick Thomson
authored
Merge pull request #146 from NicholasLYang/tagging-query-binding
Added tagging query binding
2 parents 36ae187 + d72badf commit 0f14a10

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ package-lock.json
66
examples
77
!examples/ast.rs
88
/target/
9-
.build/
9+
.build/
10+
/.idea/

bindings/rust/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ pub const GRAMMAR: &str = include_str!("../../grammar.js");
4949
/// The syntax highlighting query for this language.
5050
pub const HIGHLIGHT_QUERY: &str = include_str!("../../queries/highlights.scm");
5151

52+
/// The symbol tagging query for this language.
53+
pub const TAGGING_QUERY: &str = include_str!("../../queries/tags.scm");
54+
5255
/// The content of the [`node-types.json`][] file for this grammar.
5356
///
5457
/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types

0 commit comments

Comments
 (0)