diff --git a/crates/languages/src/javascript/highlights.scm b/crates/languages/src/javascript/highlights.scm index d4c192d47adc40369a63795a4c95a55a1e1aa4b7..a89375dee2a1872d21f03c169bf54f3d174aab94 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 calls diff --git a/crates/languages/src/tsx/highlights.scm b/crates/languages/src/tsx/highlights.scm index fb74c926825439c934c15c7a00533f1aa9758dc8..2ebbd62f668d3d40b4ab232c96eb0697d87d5ab1 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