diff options
author | Matthew Toohey | 2022-05-05 13:47:28 +0000 |
---|---|---|
committer | GitHub | 2022-05-05 13:47:28 +0000 |
commit | a5f4925f53d447bb7201c9a6e7a1c2730f292ae4 (patch) | |
tree | 3e9c1a6d70df846a81d2848898220e0fe9ce01f4 /runtime/queries/git-ignore | |
parent | fc61796895a0175ccfed7f572960dc3cd21e7f04 (diff) |
feat(languages): git-ignore and git-attributes (#2397)
Diffstat (limited to 'runtime/queries/git-ignore')
-rw-r--r-- | runtime/queries/git-ignore/highlights.scm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/runtime/queries/git-ignore/highlights.scm b/runtime/queries/git-ignore/highlights.scm new file mode 100644 index 00000000..4264eb04 --- /dev/null +++ b/runtime/queries/git-ignore/highlights.scm @@ -0,0 +1,25 @@ +(pattern_char) @string +(pattern_char_escaped) @constant.character.escape + +(directory_separator) @string +(directory_separator_escaped) @constant.character.escape + +(negation) @operator + +(wildcard_char_single) @operator +(wildcard_chars) @operator +(wildcard_chars_allow_slash) @operator + +(bracket_char) @string +(bracket_char_escaped) @constant.character.escape + +(bracket_negation) @operator +(bracket_range) @operator +(bracket_char_class) @keyword + +[ + "[" + "]" +] @punctuation.bracket + +(comment) @comment |