Add queries to rust bindings
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
I should try using those bindings to write tests for currently untested queries...
This commit is contained in:
parent
79413a9624
commit
1cfcc43469
|
@ -35,10 +35,13 @@ 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");
|
||||||
|
pub const TAGS_QUERY: &'static str = include_str!("../../queries/tags.scm");
|
||||||
|
pub const TEXTOBJECTS_QUERY: &'static str = include_str!("../../queries/textobjects.scm");
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod tests {
|
mod tests {
|
||||||
|
|
Loading…
Reference in a new issue