aboutsummaryrefslogtreecommitdiffstats
path: root/queries/java
diff options
context:
space:
mode:
Diffstat (limited to 'queries/java')
-rw-r--r--queries/java/highlights.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/queries/java/highlights.scm b/queries/java/highlights.scm
index ae498a159..27f139ec2 100644
--- a/queries/java/highlights.scm
+++ b/queries/java/highlights.scm
@@ -32,15 +32,6 @@
(lambda_expression
parameters: (identifier) @parameter) ; x -> ...
-; Annotations
-
-(annotation
- "@" @attribute
- name: (identifier) @attribute)
-(marker_annotation
- "@" @attribute
- name: (identifier) @attribute)
-
; Operators
[
@@ -135,6 +126,15 @@
(this) @variable.builtin
+; Annotations
+
+(annotation
+ "@" @attribute
+ name: (identifier) @attribute)
+(marker_annotation
+ "@" @attribute
+ name: (identifier) @attribute)
+
; Literals
(string_literal) @string