1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-26 09:51:31 -08:00

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).
This commit is contained in:
Laurence Warne 2022-09-06 12:28:12 +02:00 committed by Lars Ingebrigtsen
parent 91423627b4
commit 969983ea1f
2 changed files with 22 additions and 7 deletions

View file

@ -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)