aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ziggy/highlights.scm
blob: 27f6c9a482e4b65e4439faa175fd58599a6fe99d (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
[
  (true)
  (false)
] @constant.builtin

(null) @constant.builtin

[
  (integer)
  (float)
] @number

(struct_field
  key: (_) @keyword)

(struct
  name: (_) @type)

(tag) @function

[
  (string)
  (line_string)*
] @string

(comment) @comment

(escape_sequence) @string.escape

"," @punctuation.delimiter

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

(top_comment) @comment