Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/java/highlights.scm')
-rw-r--r--runtime/queries/java/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/java/highlights.scm b/runtime/queries/java/highlights.scm
index ae99a33a..1f5da9c6 100644
--- a/runtime/queries/java/highlights.scm
+++ b/runtime/queries/java/highlights.scm
@@ -1,3 +1,5 @@
+(identifier) @variable
+
; Methods
(method_declaration
@@ -54,8 +56,6 @@
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
-(identifier) @variable
-
(this) @variable.builtin
; Literals