aboutsummaryrefslogtreecommitdiffstats
path: root/queries/haskell
diff options
context:
space:
mode:
authorOmar Valdez <omarantoniovaldezf2@gmail.com>2024-09-19 23:15:01 -0700
committerGitHub <noreply@github.com>2024-09-20 08:15:01 +0200
commit188b1a6d01fd9bcf04bf2bc932d611809b154acc (patch)
tree2ef7f0fc668817cfbf63f476f5a22467b56f2377 /queries/haskell
parentbot(lockfile): update editorconfig, fortran, nix, perl (diff)
downloadnvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.gz
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.bz2
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.lz
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.xz
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.tar.zst
nvim-treesitter-188b1a6d01fd9bcf04bf2bc932d611809b154acc.zip
feat(highlights): capture wildcard patterns as `@character.special` (#7153)
Diffstat (limited to 'queries/haskell')
-rw-r--r--queries/haskell/highlights.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/queries/haskell/highlights.scm b/queries/haskell/highlights.scm
index 9373b6e1d..0880f020e 100644
--- a/queries/haskell/highlights.scm
+++ b/queries/haskell/highlights.scm
@@ -4,8 +4,6 @@
; and don't override destructured parameters
(variable) @variable
-(pattern/wildcard) @variable
-
(decl/function
patterns: (patterns
(_) @variable.parameter))
@@ -78,7 +76,6 @@
(operator)
(constructor_operator)
(all_names)
- (wildcard)
"."
".."
"="
@@ -92,6 +89,8 @@
"@"
] @operator
+(wildcard) @character.special
+
(module
(module_id) @module)