Skip to content

Commit a76e1eb

Browse files
zweimachtheHamsta
authored andcommitted
highlights(haskell): function with type signature
1 parent c6afb72 commit a76e1eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

queries/haskell/highlights.scm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@
110110
(function
111111
name: (variable) @function
112112
patterns: (patterns))
113+
((signature (fun)) . (function (variable) @function))
114+
((signature (context (fun))) . (function (variable) @function))
115+
((signature (forall (context (fun)))) . (function (variable) @function))
113116

114117
(exp_infix (variable) @operator) ; consider infix functions as operators
115118

0 commit comments

Comments
 (0)