@@ -46,25 +46,25 @@ pub fn language() -> Language {
4646/// The source of the JavaScript tree-sitter grammar description.
4747pub const GRAMMAR : & ' static str = include_str ! ( "../../grammar.js" ) ;
4848
49- /// The syntax highlighting queries for this language.
50- pub const HIGHLIGHT_QUERIES : & ' static str = include_str ! ( "../../queries/highlights.scm" ) ;
49+ /// The syntax highlighting query for this language.
50+ pub const HIGHLIGHT_QUERY : & ' static str = include_str ! ( "../../queries/highlights.scm" ) ;
5151
52- /// The syntax highlighting queries for languages injected into this one.
53- pub const INJECTION_QUERIES : & ' static str = include_str ! ( "../../queries/injections.scm" ) ;
52+ /// The syntax highlighting query for languages injected into this one.
53+ pub const INJECTION_QUERY : & ' static str = include_str ! ( "../../queries/injections.scm" ) ;
5454
55- /// The syntax highlighting queries for JSX.
56- pub const JSX_HIGHLIGHT_QUERIES : & ' static str = include_str ! ( "../../queries/highlights-jsx.scm" ) ;
55+ /// The syntax highlighting query for JSX.
56+ pub const JSX_HIGHLIGHT_QUERY : & ' static str = include_str ! ( "../../queries/highlights-jsx.scm" ) ;
5757
58- /// The local-variable syntax highlighting queries for this language.
59- pub const LOCALS_QUERIES : & ' static str = include_str ! ( "../../queries/locals.scm" ) ;
58+ /// The local-variable syntax highlighting query for this language.
59+ pub const LOCALS_QUERY : & ' static str = include_str ! ( "../../queries/locals.scm" ) ;
6060
6161/// The content of the [`node-types.json`][] file for this grammar.
6262///
6363/// [`node-types.json`]: https://tree-sitter.github.io/tree-sitter/using-parsers#static-node-types
6464pub const NODE_TYPES : & ' static str = include_str ! ( "../../src/node-types.json" ) ;
6565
66- /// The symbol tagging queries for this language.
67- pub const TAGGING_QUERIES : & ' static str = include_str ! ( "../../queries/tags.scm" ) ;
66+ /// The symbol tagging query for this language.
67+ pub const TAGGING_QUERY : & ' static str = include_str ! ( "../../queries/tags.scm" ) ;
6868
6969#[ cfg( test) ]
7070mod tests {
0 commit comments