aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbbath <pitongogi@gmail.com>2026-01-16 17:56:29 +0100
committerChristian Clason <ch.clason+github@icloud.com>2026-01-16 18:11:27 +0100
commit8aada0e3940c573e38b417a226b43bc8675f8958 (patch)
tree11e8225c8462513ad68f31c6b16eb39ede267fed
parentfix(haskell): highlighting for operator definition and operator-like construc... (diff)
downloadnvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar.gz
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar.bz2
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar.lz
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar.xz
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.tar.zst
nvim-treesitter-8aada0e3940c573e38b417a226b43bc8675f8958.zip
fix(haskell): use grammar for operator detection instead of match
-rw-r--r--runtime/queries/haskell/highlights.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/queries/haskell/highlights.scm b/runtime/queries/haskell/highlights.scm
index 9d043b49d..d0fdc17f6 100644
--- a/runtime/queries/haskell/highlights.scm
+++ b/runtime/queries/haskell/highlights.scm
@@ -228,8 +228,7 @@
((module) @module
(variable) @function.call))
]
- (operator) @_op
- (#match? @_op "^[^:].*"))
+ operator: (operator))
; infix operators applied to variables
((expression/variable) @variable