mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 10:57:48 +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
|
(null) @constant.builtin
|
||||||
(number) @constant.numeric
|
(number) @constant.numeric
|
||||||
|
|
||||||
(pair
|
|
||||||
key: (_) @variable.other.member)
|
|
||||||
|
|
||||||
(string) @string
|
(string) @string
|
||||||
(escape_sequence) @constant.character.escape
|
(escape_sequence) @constant.character.escape
|
||||||
|
|
||||||
|
(pair
|
||||||
|
key: (_) @variable.other.member)
|
||||||
|
|
||||||
"," @punctuation.delimiter
|
"," @punctuation.delimiter
|
||||||
[
|
[
|
||||||
"["
|
"["
|
||||||
|
|
|
@ -5,12 +5,12 @@
|
||||||
(null) @constant.builtin
|
(null) @constant.builtin
|
||||||
(number) @constant.numeric
|
(number) @constant.numeric
|
||||||
|
|
||||||
(member
|
|
||||||
name: (_) @variable.other.member)
|
|
||||||
|
|
||||||
(string) @string
|
(string) @string
|
||||||
(comment) @comment
|
(comment) @comment
|
||||||
|
|
||||||
|
(member
|
||||||
|
name: (_) @variable.other.member)
|
||||||
|
|
||||||
"," @punctuation.delimiter
|
"," @punctuation.delimiter
|
||||||
[
|
[
|
||||||
"["
|
"["
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue