aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/git-ignore/highlights.scm
blob: 4264eb04e217af32271b277d5c404fe57524e691 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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