diff --git a/runtime/queries/json/highlights.scm b/runtime/queries/json/highlights.scm index 69005074d..554d3b2b8 100644 --- a/runtime/queries/json/highlights.scm +++ b/runtime/queries/json/highlights.scm @@ -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 [ "[" diff --git a/runtime/queries/json5/highlights.scm b/runtime/queries/json5/highlights.scm index 3ec4ee296..a19b30722 100644 --- a/runtime/queries/json5/highlights.scm +++ b/runtime/queries/json5/highlights.scm @@ -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 [ "["