[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41684: [PATCH] Highlight typed variables in python
From: |
Eli Zaretskii |
Subject: |
bug#41684: [PATCH] Highlight typed variables in python |
Date: |
Sat, 13 Jun 2020 10:35:34 +0300 |
> From: Konstantin Kharlamov <Hi-Angel@yandex.ru>
> Date: Wed, 3 Jun 2020 14:51:03 +0300
>
> * progmodes/python.el (python-font-lock-keywords-maximum-decoration):
> recognize typed variables like "foo: int = 1" as well.
> ---
Thanks, I installed this on the master branch.
For the future, please note a couple of minor stylistic nits:
. it is better to submit patches in "git format-patch" format, as
that makes it easier to apply the patch
. the description in the log message should start with a capital
letter after the function's name
. if a comment or a code line exceeds 80 columns, break them into
several lines