]> git.eshelyaron.com Git - emacs.git/commit
Highlight typed variables in Python
authorKonstantin Kharlamov <Hi-Angel@yandex.ru>
Wed, 3 Jun 2020 11:51:03 +0000 (14:51 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 13 Jun 2020 07:31:13 +0000 (10:31 +0300)
commita3474c59dee35d687f773993869f84eb5f9d2eda
tree9b5a00e462d1a3f831669545f1dbbabd73761705
parent459bd56f46af8cd7c29965600c46387282c3c93f
Highlight typed variables in Python

* progmodes/python.el
(python-font-lock-keywords-maximum-decoration): Recognize
typed variables like "foo: int = 1" as well.  (Bug#41684)
lisp/progmodes/python.el