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