From e8fa1c2c84939385e9161cbc03e206c8afc70a12 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 28 Dec 2020 18:17:01 +0100 Subject: Regex highlights: no escape highlighting for escaped special characters --- queries/regex/highlights.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/queries/regex/highlights.scm b/queries/regex/highlights.scm index d21d42330..7f765f0e9 100644 --- a/queries/regex/highlights.scm +++ b/queries/regex/highlights.scm @@ -15,6 +15,10 @@ (group_name) @property +;; These are escaped special characters that lost their special meaning +;; -> no special highlighting +; (identity_escape) + [ (identity_escape) (control_letter_escape) -- cgit v1.2.3-70-g09d2