aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/textproto/highlights.scm
blob: f4d355ce213b375f089cc3c093afa7607fa9a852 (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
(string) @string

(field_name) @variable.member

(comment) @comment @spell

(number) @number

"-" @operator

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

(string_escape) @string.escape

; For stuff like "inf" and "-inf".
(scalar_value
  [
    (identifier)
    (signed_identifier)
  ]) @number

[
  (open_squiggly)
  (close_squiggly)
  (open_square)
  (close_square)
  (open_arrow)
  (close_arrow)
] @punctuation.bracket