diff options
| author | Omar Valdez <omarantoniovaldezf2@gmail.com> | 2024-09-19 23:15:01 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-20 08:15:01 +0200 |
| commit | 188b1a6d01fd9bcf04bf2bc932d611809b154acc (patch) | |
| tree | 2ef7f0fc668817cfbf63f476f5a22467b56f2377 /queries/purescript | |
| parent | bot(lockfile): update editorconfig, fortran, nix, perl (diff) | |
| download | nvim-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/purescript')
| -rw-r--r-- | queries/purescript/highlights.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/queries/purescript/highlights.scm b/queries/purescript/highlights.scm index 5f07e9b48..02426b0ab 100644 --- a/queries/purescript/highlights.scm +++ b/queries/purescript/highlights.scm @@ -118,11 +118,12 @@ "role" @keyword role: (type_role) @keyword.modifier) -(hole) @character.special - ; `_` wildcards in if-then-else and case-of expressions, ; as well as record updates and operator sections -(wildcard) @variable.parameter +[ + "_" + (hole) +] @character.special ; ---------------------------------------------------------------------------- ; Functions and variables |
