mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-06 13:30:01 -04:00
refactor(ecma): delimiter highlight consolidation
This commit is contained in:
parent
17d68ac13c
commit
42acc3f6e7
1 changed files with 6 additions and 17 deletions
|
|
@ -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
|
||||
|
||||
[
|
||||
"--"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue