Add queries to Rust bindings

This commit is contained in:
Bruno BELANYI 2024-04-23 15:52:01 +00:00
parent d25b07cae0
commit 533c82cdf3

View file

@ -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 // Uncomment these to include any queries that this grammar contains
// pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm"); pub const FOLDS_QUERY: &'static str = include_str!("../../queries/folds.scm");
// pub const INJECTIONS_QUERY: &'static str = include_str!("../../queries/injections.scm"); pub const HIGHLIGHTS_QUERY: &'static str = include_str!("../../queries/highlights.scm");
// pub const LOCALS_QUERY: &'static str = include_str!("../../queries/locals.scm"); pub const INDENTS_QUERY: &'static str = include_str!("../../queries/indents.scm");
// pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.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)] #[cfg(test)]
mod tests { mod tests {