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 1f5da9c6..ae99a33a 100644
--- a/runtime/queries/java/highlights.scm
+++ b/runtime/queries/java/highlights.scm
@@ -1,5 +1,3 @@
-(identifier) @variable
-
; Methods
(method_declaration
@@ -56,6 +54,8 @@
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
+(identifier) @variable
+
(this) @variable.builtin
; Literals