aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/queries/haskell/highlights.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm
index 8e9f1b3c3..9d043b49d 100644
--- a/runtime/queries/haskell/highlights.scm
+++ b/runtime/queries/haskell/highlights.scm
@@ -227,7 +227,9 @@
(qualified
((module) @module
(variable) @function.call))
- ])
+ ]
+ (operator) @_op
+ (#match? @_op "^[^:].*"))
; infix operators applied to variables
((expression/variable) @variable
@@ -246,7 +248,7 @@
(function
(infix
left_operand: [
- (variable) @variable
+ (variable) @variable.parameter
(qualified
((module) @module
(variable) @variable))