From 969983ea1fe4ecca6c714c84b033fa5d0195b753 Mon Sep 17 00:00:00 2001 From: Laurence Warne Date: Tue, 6 Sep 2022 12:28:12 +0200 Subject: Apply syntax highlighting for all python f-strings * lisp/progmodes/python.el (python--f-string-p) (python--font-lock-f-strings): Edit functions to use a regular expression matching all f-strings (bug#56757). --- test/lisp/progmodes/python-tests.el | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'test/lisp/progmodes/python-tests.el') diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 906f7eca7de..20a7a0132a8 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el @@ -574,10 +574,14 @@ u\"\\n\"" (195 . font-lock-string-face) (196 . font-lock-constant-face) (215 . font-lock-string-face) (218) - (221 . font-lock-string-face) (274) - (277 . font-lock-string-face) (330) - (333 . font-lock-string-face) (386) - (389 . font-lock-string-face) (442) + (221 . font-lock-string-face) (254) + (271 . font-lock-string-face) (274) + (277 . font-lock-string-face) (310) + (327 . font-lock-string-face) (330) + (333 . font-lock-string-face) (366) + (383 . font-lock-string-face) (386) + (389 . font-lock-string-face) (422) + (439 . font-lock-string-face) (442) (444 . font-lock-string-face) (497) (499 . font-lock-string-face) (552) (555 . font-lock-string-face) (608) -- cgit v1.2.1