mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(haskell): function with type signature
This commit is contained in:
parent
c6afb729b9
commit
a76e1eb89d
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue