2023-06-18 14:17:38 +08:00
|
|
|
[
|
|
|
|
(true)
|
|
|
|
(false)
|
|
|
|
] @boolean
|
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
(null) @constant.builtin
|
2023-06-18 14:17:38 +08:00
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
(number) @number
|
2023-06-18 14:17:38 +08:00
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
(pair key: (string) @label)
|
|
|
|
(pair value: (string) @string)
|
2023-06-18 14:17:38 +08:00
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
(array (string) @string)
|
2023-06-18 14:17:38 +08:00
|
|
|
|
|
|
|
(string_content) @spell
|
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
(ERROR) @error
|
2023-06-18 14:17:38 +08:00
|
|
|
|
2022-04-14 12:01:23 +08:00
|
|
|
["," ":"] @punctuation.delimiter
|
|
|
|
|
2023-06-18 14:17:38 +08:00
|
|
|
[
|
|
|
|
"[" "]"
|
|
|
|
"{" "}"
|
|
|
|
] @punctuation.bracket
|
|
|
|
|
|
|
|
(("\"" @conceal)
|
|
|
|
(#set! conceal ""))
|
|
|
|
|
|
|
|
(escape_sequence) @string.escape
|
|
|
|
((escape_sequence) @conceal
|
|
|
|
(#eq? @conceal "\\\"")
|
|
|
|
(#set! conceal "\""))
|