crates/languages/src/typescript/highlights.scm 🔗
@@ -5,6 +5,8 @@
; Properties
(property_identifier) @property
+(shorthand_property_identifier) @property
+(shorthand_property_identifier_pattern) @property
; Function and method calls
moshyfawn created
Release Notes:
- Fixed Typescript shorthand property highlight
([#5239](https://github.com/zed-industries/zed/issues/5239)).
Closes: #5239
crates/languages/src/typescript/highlights.scm | 2 ++
1 file changed, 2 insertions(+)
@@ -5,6 +5,8 @@
; Properties
(property_identifier) @property
+(shorthand_property_identifier) @property
+(shorthand_property_identifier_pattern) @property
; Function and method calls