From dc141d0f6182773b1281b019c28bcd97413102f0 Mon Sep 17 00:00:00 2001 From: moshyfawn Date: Thu, 30 May 2024 18:27:03 -0400 Subject: [PATCH] typescript: Fix shorthand property highlight (#12505) 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(+) diff --git a/crates/languages/src/typescript/highlights.scm b/crates/languages/src/typescript/highlights.scm index bcb41c30b3f194e42640667467fed8ad6ac9c2ae..d3deab15381723a5efbf24ef21df050224ff38da 100644 --- a/crates/languages/src/typescript/highlights.scm +++ b/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