From bf74a4652d97d7acb82e84467098e5b39f83827a Mon Sep 17 00:00:00 2001 From: Philipp Mildenberger Date: Wed, 27 Jul 2022 20:56:58 +0200 Subject: JS/TS highlighting improvements (#3219) --- runtime/queries/javascript/highlights.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime/queries/javascript') diff --git a/runtime/queries/javascript/highlights.scm b/runtime/queries/javascript/highlights.scm index 9a759081..60336c3b 100644 --- a/runtime/queries/javascript/highlights.scm +++ b/runtime/queries/javascript/highlights.scm @@ -66,6 +66,8 @@ ;----------- (property_identifier) @variable.other.member +(shorthand_property_identifier) @variable.other.member +(shorthand_property_identifier_pattern) @variable.other.member ; Literals ;--------- @@ -149,8 +151,11 @@ "&&=" "||=" "??=" + "..." ] @operator +(ternary_expression ["?" ":"] @operator) + [ "(" ")" -- cgit v1.2.3-70-g09d2