aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/requirements/highlights.scm
blob: a04922a265ac0924d507f51f38b11491eb9bba54 (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
; packages
(package) @variable

(extras
  (package) @variable.parameter)

(path) @string.special.path

(url) @string.special.url

; versions
(version_cmp) @operator

(version) @number

; markers
(marker_var) @attribute

(marker_op) @keyword.operator

; options
(option) @function

"=" @operator

; punctuation
[
  "["
  "]"
  "("
  ")"
] @punctuation.bracket

[
  ","
  ";"
  "@"
] @punctuation.delimiter

[
  "${"
  "}"
] @punctuation.special

; misc
(env_var) @constant

(quoted_string) @string

(linebreak) @character.special

(comment) @comment @spell