mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
highlights(haskell): Fix partially applied infix functions
This commit is contained in:
parent
612a762455
commit
3a621b9a83
1 changed files with 2 additions and 0 deletions
|
|
@ -119,6 +119,8 @@
|
|||
((signature (variable) @_type (forall (context (fun)))) . (function (variable) @function) (#eq? @function @_type))
|
||||
|
||||
(exp_infix (variable) @operator) ; consider infix functions as operators
|
||||
(exp_section_right (variable) @operator) ; partially applied infix functions (sections) also get highlighted as operators
|
||||
(exp_section_left (variable) @operator)
|
||||
|
||||
(exp_infix (exp_name) @function.call (#set! "priority" 101))
|
||||
(exp_apply . (exp_name (variable) @function.call))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue