From a76e1eb89d57e25cedbc71d6bf8e2d2c23d5d85b Mon Sep 17 00:00:00 2001 From: Ananda Umamil Date: Fri, 14 Jan 2022 03:22:51 +0700 Subject: highlights(haskell): function with type signature --- queries/haskell/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm index 4785b0deb..03744f5d6 100644 --- a/queries/haskell/highlights.scm +++ b/queries/haskell/highlights.scm @@ -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 -- cgit v1.2.3-70-g09d2