From 10419ee747512a5189a6755925a456025228435b Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Thu, 30 Sep 2021 21:06:29 -0500 Subject: Python: highlight interpolation escaped chars Support for these was just added in the grammar. --- queries/python/highlights.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'queries/python') diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 8812d663a..97aeabb04 100644 --- a/queries/python/highlights.scm +++ b/queries/python/highlights.scm @@ -140,7 +140,11 @@ (comment) @comment (string) @string -(escape_sequence) @string.escape +[ + (escape_sequence) + "{{" + "}}" +] @string.escape ; Tokens -- cgit v1.2.3-70-g09d2