From cfed0eff442c40d2c42feeff13d3c3d426eb5491 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 bcb41c30b3..d3deab1538 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