mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-02 02:17:44 +03:00
Fix precedence of JSON highlight queries for keys
This commit is contained in:
parent
430ce9c46b
commit
7f416704b1
2 changed files with 6 additions and 6 deletions
|
@ -5,12 +5,12 @@
|
|||
(null) @constant.builtin
|
||||
(number) @constant.numeric
|
||||
|
||||
(pair
|
||||
key: (_) @variable.other.member)
|
||||
|
||||
(string) @string
|
||||
(escape_sequence) @constant.character.escape
|
||||
|
||||
(pair
|
||||
key: (_) @variable.other.member)
|
||||
|
||||
"," @punctuation.delimiter
|
||||
[
|
||||
"["
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
(null) @constant.builtin
|
||||
(number) @constant.numeric
|
||||
|
||||
(member
|
||||
name: (_) @variable.other.member)
|
||||
|
||||
(string) @string
|
||||
(comment) @comment
|
||||
|
||||
(member
|
||||
name: (_) @variable.other.member)
|
||||
|
||||
"," @punctuation.delimiter
|
||||
[
|
||||
"["
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue