diff options
author | Philipp Mildenberger | 2022-07-27 18:56:58 +0000 |
---|---|---|
committer | GitHub | 2022-07-27 18:56:58 +0000 |
commit | bf74a4652d97d7acb82e84467098e5b39f83827a (patch) | |
tree | 6422f2fac4a0a48f682685de907cccbb121bf6c6 /runtime/queries/javascript | |
parent | 85a5df03911be8f7845921a503ffb707bfc6bab4 (diff) |
JS/TS highlighting improvements (#3219)
Diffstat (limited to 'runtime/queries/javascript')
-rw-r--r-- | runtime/queries/javascript/highlights.scm | 5 |
1 files changed, 5 insertions, 0 deletions
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) + [ "(" ")" |