diff options
Diffstat (limited to 'queries/gitattributes/highlights.scm')
| -rw-r--r-- | queries/gitattributes/highlights.scm | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/queries/gitattributes/highlights.scm b/queries/gitattributes/highlights.scm new file mode 100644 index 000000000..2e2a89346 --- /dev/null +++ b/queries/gitattributes/highlights.scm @@ -0,0 +1,54 @@ +(dir_sep) @punctuation.delimiter + +(wildcard) @punctuation.special + +(quoted_pattern + ("\"" @character.special)) + +(range_notation) @string.special + +(range_notation + [ "[" "]" ] @punctuation.bracket) + +(range_negation) @operator + +(character_class) @constant + +(class_range ("-" @operator)) + +[ + (ansi_c_escape) + (escaped_char) +] @string.escape + +(attribute + (attr_name) @parameter) + +(attribute + (builtin_attr) @variable.builtin) + +[ + (attr_reset) + (attr_unset) + (attr_set) +] @operator + +(boolean_value) @boolean + +(string_value) @string + +(macro_tag) @preproc + +(macro_def + macro_name: (_) @property) + +[ + (pattern_negation) + (redundant_escape) + (trailing_slash) +] @error + +(ERROR) @error + +(comment) @comment +(comment) @spell |
