aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index c18b74867..e0c1491a5 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -155,7 +155,10 @@
(#lua-match? @preproc "^#!/"))
(string) @string
-(escape_sequence) @string.escape
+[
+ (escape_sequence)
+ (escape_interpolation)
+] @string.escape
; doc-strings