Constant tree_sitter_gitattributes::HIGHLIGHTS_QUERY
source · pub const HIGHLIGHTS_QUERY: &str = "(dir_sep) @punctuation.delimiter\n\n(quoted_pattern\n \"\\\"\" @punctuation.special)\n\n(range_notation) @string.special\n\n(range_notation\n [ \"[\" \"]\" ] @punctuation.bracket)\n\n(wildcard) @string.regexp\n\n(range_negation) @operator\n\n(character_class) @constant\n\n(class_range \"-\" @operator)\n\n[\n (ansi_c_escape)\n (escaped_char)\n] @escape\n\n(attribute\n (attr_name) @variable.parameter)\n\n(attribute\n (builtin_attr) @variable.builtin)\n\n[\n (attr_reset)\n (attr_unset)\n (attr_set)\n] @operator\n\n(boolean_value) @boolean\n\n(string_value) @string\n\n(macro_tag) @keyword\n\n(macro_def\n macro_name: (_) @property)\n\n[\n (pattern_negation)\n (redundant_escape)\n (trailing_slash)\n (ignored_value)\n] @error\n\n(comment) @comment\n";
Expand description
The syntax highlighting queries.