From 372b007231d7f9e5edd0308c21deee143b71ca26 Mon Sep 17 00:00:00 2001 From: Kiyan Date: Fri, 1 Jul 2022 15:47:28 +0200 Subject: fix(haskell): priority 101 for infix function precedence over variable (#3085) --- queries/haskell/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm index dff1c206..0e43d187 100644 --- a/queries/haskell/highlights.scm +++ b/queries/haskell/highlights.scm @@ -116,7 +116,7 @@ (exp_infix (variable) @operator) ; consider infix functions as operators -(exp_infix (exp_name) @function) +(exp_infix (exp_name) @function (#set! "priority" 101)) (exp_apply . (exp_name (variable) @function)) (exp_apply . (exp_name (qualified_variable (variable) @function))) -- cgit v1.2.3