Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/inko/highlights.scm')
-rw-r--r--runtime/queries/inko/highlights.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/queries/inko/highlights.scm b/runtime/queries/inko/highlights.scm
index 44138ef4..2f1cdc12 100644
--- a/runtime/queries/inko/highlights.scm
+++ b/runtime/queries/inko/highlights.scm
@@ -49,12 +49,6 @@
"|="
] @operator
-; Identifiers/variable references
-(identifier) @variable
-
-((identifier) @function
- (#is-not? local))
-
; Keywords
[
"as"
@@ -78,7 +72,7 @@
] @keyword.operator
[
- "type"
+ "class"
"trait"
] @keyword.storage.type
@@ -191,3 +185,9 @@
name: _ @function)
(field) @variable.other.member
+
+; Identifiers/variable references
+((identifier) @function
+ (#is-not? local))
+
+(identifier) @variable