mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-07 04:47:45 +03:00
JS/TS highlighting improvements (#3219)
This commit is contained in:
parent
85a5df0391
commit
bf74a4652d
2 changed files with 38 additions and 11 deletions
|
@ -66,6 +66,8 @@
|
|||
;-----------
|
||||
|
||||
(property_identifier) @variable.other.member
|
||||
(shorthand_property_identifier) @variable.other.member
|
||||
(shorthand_property_identifier_pattern) @variable.other.member
|
||||
|
||||
; Literals
|
||||
;---------
|
||||
|
@ -149,8 +151,11 @@
|
|||
"&&="
|
||||
"||="
|
||||
"??="
|
||||
"..."
|
||||
] @operator
|
||||
|
||||
(ternary_expression ["?" ":"] @operator)
|
||||
|
||||
[
|
||||
"("
|
||||
")"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue