highlights(haskell): function with type signature

This commit is contained in:
Ananda Umamil 2022-01-14 03:22:51 +07:00 committed by Stephan Seitz
parent c6afb729b9
commit a76e1eb89d

View file

@ -110,6 +110,9 @@
(function
name: (variable) @function
patterns: (patterns))
((signature (fun)) . (function (variable) @function))
((signature (context (fun))) . (function (variable) @function))
((signature (forall (context (fun)))) . (function (variable) @function))
(exp_infix (variable) @operator) ; consider infix functions as operators