aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/javascript/highlights.scm16
1 files changed, 16 insertions, 0 deletions
diff --git a/queries/javascript/highlights.scm b/queries/javascript/highlights.scm
index cc073dafc..15d3361a5 100644
--- a/queries/javascript/highlights.scm
+++ b/queries/javascript/highlights.scm
@@ -151,6 +151,7 @@
";" @punctuation.delimiter
"." @punctuation.delimiter
"," @punctuation.delimiter
+"?." @punctuation.delimiter
(pair ":" @punctuation.delimiter)
@@ -181,6 +182,21 @@
"||"
"%"
"%="
+ "*"
+ "**"
+ ">>>"
+ "&"
+ "|"
+ "^"
+ "??"
+ "*="
+ ">>="
+ ">>>="
+ "^="
+ "|="
+ "&&="
+ "||="
+ "??="
] @operator
(binary_expression "/" @operator)