bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54992: 29.0.50; python.el: custom type hint in assignment statements


From: Lars Ingebrigtsen
Subject: bug#54992: 29.0.50; python.el: custom type hint in assignment statements is font-locked as a variable
Date: Sun, 17 Apr 2022 19:28:32 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

kobarity <kobarity@gmail.com> writes:

> This is caused by the font-lock rule for special cases of assignment
> statements such as '[a] = 5,'. I suggest applying the following patch
> to restrict the rule not to match type hints.

Makes sense to me; pushed to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]