From 533c82cdf39f77282f3c1de20c382f0ebcf5845a Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Tue, 23 Apr 2024 15:52:01 +0000 Subject: [PATCH] Add queries to Rust bindings --- bindings/rust/lib.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bindings/rust/lib.rs b/bindings/rust/lib.rs index 22bfdfc..78e1169 100644 --- a/bindings/rust/lib.rs +++ b/bindings/rust/lib.rs @@ -35,10 +35,11 @@ pub const NODE_TYPES: &'static str = include_str!("../../src/node-types.json"); // Uncomment these to include any queries that this grammar contains -// pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); -// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm"); -// pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm"); -// pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm"); +pub const FOLDS_QUERY: &'static str = include_str!("../../queries/folds.scm"); +pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); +pub const INDENTS_QUERY: &'static str = include_str!("../../queries/indents.scm"); +pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm"); +pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm"); #[cfg(test)] mod tests {