aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/java
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/java')
-rw-r--r--runtime/queries/java/highlights.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queries/java/highlights.scm b/runtime/queries/java/highlights.scm
index 3f8ae0d5..e7d793df 100644
--- a/runtime/queries/java/highlights.scm
+++ b/runtime/queries/java/highlights.scm
@@ -47,7 +47,7 @@
; Variables
((identifier) @constant
- (#match? @constant "^_*[A-Z][A-Z\d_]+"))
+ (#match? @constant "^_*[A-Z][A-Z\\d_]+$"))
(identifier) @variable