nvim-treesitter/runtime/queries/json/highlights.scm

41 lines
439 B
Scheme
Raw Normal View History

[
2024-01-06 15:05:50 +09:00
(true)
(false)
] @boolean
2020-06-15 13:13:26 -05:00
(null) @constant.builtin
2020-06-15 13:13:26 -05:00
(number) @number
2024-01-06 15:05:50 +09:00
(pair
key: (string) @property)
2024-01-06 15:05:50 +09:00
(pair
value: (string) @string)
2024-01-06 15:05:50 +09:00
(array
(string) @string)
[
2024-01-06 15:05:50 +09:00
","
":"
] @punctuation.delimiter
[
"["
"]"
"{"
"}"
] @punctuation.bracket
2024-01-21 22:05:44 +09:00
("\"" @conceal
2024-01-06 15:05:50 +09:00
(#set! conceal ""))
(escape_sequence) @string.escape
2024-01-06 15:05:50 +09:00
((escape_sequence) @conceal
2024-01-06 15:05:50 +09:00
(#eq? @conceal "\\\"")
(#set! conceal "\""))
(comment) @comment @spell