]> git.eshelyaron.com Git - emacs.git/commit
Make python-mode fontify more assignment statements
authorDario Gjorgjevski <dario.gjorgjevski@gmail.com>
Mon, 21 Dec 2020 04:40:38 +0000 (05:40 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 21 Dec 2020 04:41:07 +0000 (05:41 +0100)
commitb2ce94fa5eecee0afd0e6237956cfb2b02b8bb0b
tree259b491dcc5f87cfff344e168a54d467eb2939a2
parent759ec257699d734de2ba733bcc204745500b9b23
Make python-mode fontify more assignment statements

* lisp/progmodes/python.el (python-font-lock-assignment-matcher): New
function to match assignment statements.
(python-rx): Add `assignment-target' and `grouped-assignment-target'.
(python-font-lock-keywords-maximum-decoration): Add new matchers
(bug#45341).
lisp/progmodes/python.el