aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2022-08-29 23:45:59 +0200
committerStephan Seitz <stephan.seitz@fau.de>2022-09-11 04:16:06 -0700
commit600ac0f358caf170b4f1f05ccd74aebdc36bbec2 (patch)
tree5f7b0765976cfe78704dd6859eafc10403fc54d7
parenthighlights(elvish): use `@function.call` (diff)
downloadnvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar.gz
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar.bz2
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar.lz
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar.xz
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.tar.zst
nvim-treesitter-600ac0f358caf170b4f1f05ccd74aebdc36bbec2.zip
highlights(haskell): use `@function.call`
-rw-r--r--queries/haskell/highlights.scm8
1 files changed, 4 insertions, 4 deletions
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
;; ----------------------------------------------------------------------------