mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 20:00:07 -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
|
||||||
;------------
|
;------------
|
||||||
";" @punctuation.delimiter
|
[
|
||||||
|
";"
|
||||||
"." @punctuation.delimiter
|
"."
|
||||||
|
","
|
||||||
"," @punctuation.delimiter
|
":"
|
||||||
|
] @punctuation.delimiter
|
||||||
(pair
|
|
||||||
":" @punctuation.delimiter)
|
|
||||||
|
|
||||||
(pair_pattern
|
|
||||||
":" @punctuation.delimiter)
|
|
||||||
|
|
||||||
(switch_case
|
|
||||||
":" @punctuation.delimiter)
|
|
||||||
|
|
||||||
(switch_default
|
|
||||||
":" @punctuation.delimiter)
|
|
||||||
|
|
||||||
[
|
[
|
||||||
"--"
|
"--"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue