1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 18:50:03 +08:00
SpaceVim/bundle/nvim-treesitter/queries/json/highlights.scm

33 lines
427 B
Scheme
Vendored

[
(true)
(false)
] @boolean
(null) @constant.builtin
(number) @number
(pair key: (string) @label)
(pair value: (string) @string)
(array (string) @string)
(string_content) @spell
(ERROR) @error
["," ":"] @punctuation.delimiter
[
"[" "]"
"{" "}"
] @punctuation.bracket
(("\"" @conceal)
(#set! conceal ""))
(escape_sequence) @string.escape
((escape_sequence) @conceal
(#eq? @conceal "\\\"")
(#set! conceal "\""))