From 188b1a6d01fd9bcf04bf2bc932d611809b154acc Mon Sep 17 00:00:00 2001 From: Omar Valdez Date: Thu, 19 Sep 2024 23:15:01 -0700 Subject: feat(highlights): capture wildcard patterns as `@character.special` (#7153) --- queries/purescript/highlights.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'queries/purescript') 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 -- cgit v1.2.3-70-g09d2