diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index 051d47749..b969486cc 100644 --- a/queries/ecma/highlights.scm +++ b/queries/ecma/highlights.scm @@ -206,23 +206,12 @@ ; Punctuation ;------------ -";" @punctuation.delimiter - -"." @punctuation.delimiter - -"," @punctuation.delimiter - -(pair - ":" @punctuation.delimiter) - -(pair_pattern - ":" @punctuation.delimiter) - -(switch_case - ":" @punctuation.delimiter) - -(switch_default - ":" @punctuation.delimiter) +[ + ";" + "." + "," + ":" +] @punctuation.delimiter [ "--"