From 7da3cb6323d1e1fbfc4d7dc05cac74946458b8a0 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Sun, 19 Nov 2023 20:34:18 -0800 Subject: feat(regex): any_character, start end assertion hl differentiation --- queries/regex/highlights.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/queries/regex/highlights.scm b/queries/regex/highlights.scm index 8277d6d7e..7a5685844 100644 --- a/queries/regex/highlights.scm +++ b/queries/regex/highlights.scm @@ -25,10 +25,14 @@ (control_letter_escape) (character_class_escape) (control_escape) - (start_assertion) - (end_assertion) (boundary_assertion) (non_boundary_assertion) ] @string.escape -[ "*" "+" "?" "|" "=" "!" ] @operator +[ "*" "+" "?" "|" "=" "!" "-"] @operator + +[ + (any_character) + (start_assertion) + (end_assertion) +] @variable.builtin -- cgit v1.2.3-70-g09d2