diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm index 297a410da..f89375664 100644 --- a/queries/haskell/highlights.scm +++ b/queries/haskell/highlights.scm @@ -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))