aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm6
1 files changed, 5 insertions, 1 deletions
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