From 3065a928fc134167f439230b01216e45198be715 Mon Sep 17 00:00:00 2001 From: ObserverOfTime Date: Mon, 4 Dec 2023 20:37:26 +0200 Subject: fix(java): move attributes after constants --- queries/java/highlights.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'queries/java') 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 -- cgit v1.2.3-70-g09d2