mirror of https://github.com/helix-editor/helix
lang(json): make field key highlighting consistent with toml and yaml (#10676)
parent
50b13d1aea
commit
6876f923d5
@ -1,11 +1,20 @@
|
|||||||
(string) @string
|
[
|
||||||
|
(true)
|
||||||
(identifier) @constant
|
(false)
|
||||||
|
] @constant.builtin.boolean
|
||||||
(number) @constant.numeric
|
|
||||||
|
|
||||||
(null) @constant.builtin
|
(null) @constant.builtin
|
||||||
|
(number) @constant.numeric
|
||||||
|
|
||||||
[(true) (false)] @constant.builtin.boolean
|
(member
|
||||||
|
name: (_) @variable.other.member)
|
||||||
|
|
||||||
|
(string) @string
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
||||||
|
"," @punctuation.delimiter
|
||||||
|
[
|
||||||
|
"["
|
||||||
|
"]"
|
||||||
|
"{"
|
||||||
|
"}"
|
||||||
|
] @punctuation.bracket
|
||||||
|
Loading…
Reference in New Issue