Fix precedence of JSON highlight queries for keys

This commit is contained in:
Michael Davis 2025-03-12 17:28:11 -04:00
parent 430ce9c46b
commit 7f416704b1
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -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
[
"["

View file

@ -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
[
"["