fix(highlights): change groups priority
; highlights.scm
-(call function: (identifier) @function)
-(call arguments:
- (arguments
- name: (identifier) @parameter ))
-
-(lambda_function "\\" @operator)
-
-(namespace_get function: (identifier) @method)
-(namespace_get_internal function: (identifier) @method)
-
-(namespace_get namespace: (identifier) @namespace
- "::" @operator)
-(namespace_get_internal namespace: (identifier) @namespace
- ":::" @operator)
; Literals
(comment) @comment
-(formal_parameters (identifier) @parameter)
-
(identifier) @variable
+(formal_parameters (identifier) @parameter)
+
; Operators
[
"="
"&"
":"
"~"
- "|>"
] @operator)
-(special) @operator
+[
+ "|>"
+ (special)
+] @operator
[
"("
"function" @keyword.function
+(call function: (identifier) @function)
+(call arguments:
+ (arguments
+ name: (identifier) @parameter ))
+
+(lambda_function "\\" @operator)
+
+(namespace_get function: (identifier) @method)
+(namespace_get_internal function: (identifier) @method)
+
+(namespace_get namespace: (identifier) @namespace
+ "::" @operator)
+(namespace_get_internal namespace: (identifier) @namespace
+ ":::" @operator)
+
; Error
(ERROR) @error
