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.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/runtime/queries/scala/highlights.scm b/runtime/queries/scala/highlights.scm index e21a3909..5e5d63e4 100644 --- a/runtime/queries/scala/highlights.scm +++ b/runtime/queries/scala/highlights.scm @@ -2,6 +2,9 @@ ;; variables +(identifier) @variable + +(operator_identifier) @operator ((identifier) @variable.builtin (#match? @variable.builtin "^this$")) @@ -262,7 +265,3 @@ (case_block (case_clause ("case") @keyword.control.conditional)) - -(identifier) @variable - -(operator_identifier) @operator |