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