fix(haskell): highlighting for operator definition and operator-like constructors.

This commit is contained in:
Abbath 2026-01-14 11:16:45 +01:00 committed by Christian Clason
parent c872ec85cc
commit 15b3416cc1

View file

@ -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))