diff --git a/queries/ecma/highlights.scm b/queries/ecma/highlights.scm index c52274e54..f4580ad6f 100644 --- a/queries/ecma/highlights.scm +++ b/queries/ecma/highlights.scm @@ -12,6 +12,10 @@ (property_identifier) @property (shorthand_property_identifier) @property +(variable_declarator + name: (object_pattern + (shorthand_property_identifier_pattern))) @property + ; Special identifiers ;--------------------