aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/cpon/highlights.scm
blob: f85caf4696ca6fc3261ee50460606c705953e1d1 (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
[
  (true)
  (false)
] @constant.builtin.boolean
(null) @constant.builtin
(number) @constant.numeric
(pair
  key: (_) @keyword)
(ipair
  key: (_) @keyword)
(mpair
  key: (_) @keyword)

(string) @string
(escape_sequence) @constant.character.escape
(ERROR) @error

"," @punctuation.delimiter
[
  "["
  "]"
  "{"
  "}"
  "<"
  ">"
] @punctuation.bracket