aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/ziggy_schema/highlights.scm
blob: 8555c79cc76fde1a9f502de017ce4ed30ee29507 (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
(struct_field
  key: (_) @keyword)

(tag_name) @function

[
  "unknown"
  "any"
  "struct"
  "root"
  "enum"
  "null"
] @keyword

(string) @string

(number) @number

[
  "true"
  "false"
] @boolean

(identifier) @type

"?" @type

[
  "bool"
  "bytes"
  "int"
  "float"
] @constant.builtin

(doc_comment) @comment.documentation

[
  ","
  ":"
  "|"
] @punctuation.delimiter

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