Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix TSX and JavaScript shorthand property syntax highlighting (#12512)
Jayden Sericb218d8778da1
diff --git a/crates/languages/src/javascript/highlights.scm b/crates/languages/src/javascript/highlights.scmindex d4c192d47ad..a89375dee2a 100644--- a/crates/languages/src/javascript/highlights.scm+++ b/crates/languages/src/javascript/highlights.scm@@ -5,6 +5,8 @@; Properties(property_identifier) @property+(shorthand_property_identifier) @property+(shorthand_property_identifier_pattern) @property; Function and method callsdiff --git a/crates/languages/src/tsx/highlights.scm b/crates/languages/src/tsx/highlights.scmindex fb74c926825..2ebbd62f668 100644--- a/crates/languages/src/tsx/highlights.scm+++ b/crates/languages/src/tsx/highlights.scm@@ -5,6 +5,8 @@; Properties(property_identifier) @property+(shorthand_property_identifier) @property+(shorthand_property_identifier_pattern) @property; Function and method calls