aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/editorconfig/highlights.scm
blob: feb0a524cf82a7ad3b72c26cfc2c310004230dc4 (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(comment) @comment @spell

(section
  (section_name) @string.special.path)

(character_choice
  (character) @constant)

(character_range
  start: (character) @constant
  end: (character) @constant)

[
  "["
  "]"
  "{"
  "}"
] @punctuation.bracket

[
  ","
  ".."
  (path_separator)
] @punctuation.delimiter

[
  "-"
  "="
  (negation)
] @operator

[
  (wildcard_characters)
  (wildcard_any_characters)
  (wildcard_single_character)
] @character.special

(escaped_character) @string.escape

(pair
  key: (identifier) @property
  value: (_) @string)

(boolean) @boolean

(integer) @number

(unset) @constant.builtin

[
  (spelling_language)
  (indent_style)
  (end_of_line)
  (charset)
] @string.special