aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index dca0936c826..de1c6f551c4 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1108,7 +1108,8 @@ fontified."
1108 (ignore-interpolation (not 1108 (ignore-interpolation (not
1109 (seq-some 1109 (seq-some
1110 (lambda (feats) (memq 'string-interpolation feats)) 1110 (lambda (feats) (memq 'string-interpolation feats))
1111 (seq-take treesit-font-lock-feature-list treesit-font-lock-level)))) 1111 (seq-take treesit-font-lock-feature-list
1112 (treesit--compute-font-lock-level treesit-font-lock-level)))))
1112 ;; If interpolation is enabled, highlight only 1113 ;; If interpolation is enabled, highlight only
1113 ;; string_start/string_content/string_end children. Do not 1114 ;; string_start/string_content/string_end children. Do not
1114 ;; touch interpolation node that can occur inside of the 1115 ;; touch interpolation node that can occur inside of the