From 600ac0f358caf170b4f1f05ccd74aebdc36bbec2 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 29 Aug 2022 23:45:59 +0200 Subject: highlights(haskell): use `@function.call` --- queries/haskell/highlights.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'queries/haskell') diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm index f8920f7ee..06f59b5f5 100644 --- a/queries/haskell/highlights.scm +++ b/queries/haskell/highlights.scm @@ -116,9 +116,9 @@ (exp_infix (variable) @operator) ; consider infix functions as operators -(exp_infix (exp_name) @function (#set! "priority" 101)) -(exp_apply . (exp_name (variable) @function)) -(exp_apply . (exp_name (qualified_variable (variable) @function))) +(exp_infix (exp_name) @function.call (#set! "priority" 101)) +(exp_apply . (exp_name (variable) @function.call)) +(exp_apply . (exp_name (qualified_variable (variable) @function.call))) ;; ---------------------------------------------------------------------------- @@ -136,7 +136,7 @@ ;; ---------------------------------------------------------------------------- ;; Quasi-quotes -(quoter) @function +(quoter) @function.call ; Highlighting of quasiquote_body is handled by injections.scm ;; ---------------------------------------------------------------------------- -- cgit v1.2.3-70-g09d2