Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/yuck/highlights.scm')
-rw-r--r--runtime/queries/yuck/highlights.scm22
1 files changed, 14 insertions, 8 deletions
diff --git a/runtime/queries/yuck/highlights.scm b/runtime/queries/yuck/highlights.scm
index 35eee4ea..9f116f15 100644
--- a/runtime/queries/yuck/highlights.scm
+++ b/runtime/queries/yuck/highlights.scm
@@ -1,5 +1,6 @@
-(ident) @variable
-(index) @variable
+; Errors
+
+(ERROR) @error
; Comments
@@ -63,12 +64,6 @@
(function_call
name: (ident) @function)
-; Tags
-
-; TODO apply to every symbol in list? I think it should probably only be applied to the first child of the list
-(list
- (symbol) @tag)
-
; Variables
(ident) @variable
@@ -99,3 +94,14 @@
(loop_widget . "for" @keyword.control.repeat . (symbol) @variable . "in" @keyword.operator . (symbol) @variable)
(loop_widget . "for" @keyword.control.repeat . (symbol) @variable . "in" @keyword.operator)
+
+; Tags
+
+; TODO apply to every symbol in list? I think it should probably only be applied to the first child of the list
+(list
+ (symbol) @tag)
+
+; Other stuff that has not been catched by the previous queries yet
+
+(ident) @variable
+(index) @variable