refactor(ecma): delimiter highlight consolidation

This commit is contained in:
Riley Bruins 2024-02-17 18:03:16 -08:00 committed by Amaan Qureshi
parent 17d68ac13c
commit 42acc3f6e7

View file

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