diff options
| author | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-29 23:45:59 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-09-11 04:16:06 -0700 |
| commit | 600ac0f358caf170b4f1f05ccd74aebdc36bbec2 (patch) | |
| tree | 5f7b0765976cfe78704dd6859eafc10403fc54d7 | |
| parent | highlights(elvish): use `@function.call` (diff) | |
| download | nvim-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.scm | 8 |
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 ;; ---------------------------------------------------------------------------- |
