Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/scala/highlights.scm')
-rw-r--r--runtime/queries/scala/highlights.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/runtime/queries/scala/highlights.scm b/runtime/queries/scala/highlights.scm
index 5e5d63e4..e21a3909 100644
--- a/runtime/queries/scala/highlights.scm
+++ b/runtime/queries/scala/highlights.scm
@@ -2,9 +2,6 @@
;; variables
-(identifier) @variable
-
-(operator_identifier) @operator
((identifier) @variable.builtin
(#match? @variable.builtin "^this$"))
@@ -265,3 +262,7 @@
(case_block
(case_clause ("case") @keyword.control.conditional))
+
+(identifier) @variable
+
+(operator_identifier) @operator