Constant tree_sitter_regex::HIGHLIGHTS_QUERY
source · pub const HIGHLIGHTS_QUERY: &str = "[\n \"(\"\n \")\"\n \"(?\"\n \"(?:\"\n \"(?<\"\n \">\"\n \"[\"\n \"]\"\n \"{\"\n \"}\"\n] @punctuation.bracket\n\n(group_name) @property\n\n[\n (identity_escape)\n (control_letter_escape)\n (character_class_escape)\n (control_escape)\n (start_assertion)\n (end_assertion)\n (boundary_assertion)\n (non_boundary_assertion)\n] @escape\n\n[\n \"*\"\n \"+\"\n \"?\"\n \"|\"\n \"=\"\n \"!\"\n] @operator\n\n(count_quantifier\n [\n (decimal_digits) @number\n \",\" @punctuation.delimiter\n ])\n\n(character_class\n [\n \"^\" @operator\n (class_range \"-\" @operator)\n ])\n\n(class_character) @constant.character\n\n(pattern_character) @string\n";
Expand description
The syntax highlighting query for this grammar.