aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/java/highlights.scm28
1 files changed, 27 insertions, 1 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm
index 59b803abf..71e8a74a4 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -13,7 +13,33 @@
(marker_annotation
name: (identifier) @attribute)
-"@" @operator
+; Operators
+[
+"@"
+"+"
+"++"
+"-"
+"--"
+"&"
+"&&"
+"|"
+"||"
+"!="
+"=="
+"*"
+"/"
+"%"
+"<"
+"<="
+">"
+">="
+"="
+"-="
+"+="
+"*="
+"/="
+"%="
+] @operator
; Types