summaryrefslogtreecommitdiff
path: root/queries/java
diff options
context:
space:
mode:
authorChinmay <chinmay.dalal.22012001@gmail.com>2020-06-15 22:45:56 +0530
committerChinmay <chinmay.dalal.22012001@gmail.com>2020-06-15 22:45:56 +0530
commitd262d4101e55450e8c0092c2131f19e70dc1a261 (patch)
tree35b80d8b0e74fa40f5dd9057e2f16321e71fc522 /queries/java
parent042464c1c5c4e1a88717430b26347b84a4adcdf0 (diff)
Add operators
Diffstat (limited to 'queries/java')
-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 59b803ab..71e8a74a 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -13,7 +13,33 @@
(marker_annotation
name: (identifier) @attribute)
-"@" @operator
+; Operators
+[
+"@"
+"+"
+"++"
+"-"
+"--"
+"&"
+"&&"
+"|"
+"||"
+"!="
+"=="
+"*"
+"/"
+"%"
+"<"
+"<="
+">"
+">="
+"="
+"-="
+"+="
+"*="
+"/="
+"%="
+] @operator
; Types