summaryrefslogtreecommitdiff
path: root/queries/regex/highlights.scm
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-12-28 18:17:01 +0100
committerThomas Vigouroux <tomvig38@gmail.com>2021-01-03 19:05:38 +0100
commite8fa1c2c84939385e9161cbc03e206c8afc70a12 (patch)
tree10667119a5f49bc6bd4fbc501899aaeb0c0e8285 /queries/regex/highlights.scm
parent91220e5f4b8082e1ef7656cc2b9f685d44e96349 (diff)
Regex highlights: no escape highlighting for escaped special characters
Diffstat (limited to 'queries/regex/highlights.scm')
-rw-r--r--queries/regex/highlights.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/queries/regex/highlights.scm b/queries/regex/highlights.scm
index d21d4233..7f765f0e 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)