Subject: [PATCH] 31.0.50; python-ts-mode fontification does not handle normal python constructs
From: Jostein Kjønigsen <[email-masked]>
To: [email-masked]
Date: Tue, 29 Apr 2025 11:40:32 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hey everyone.

When using python-ts-mode to edit python code, there's quite a few areas where fontification is lacking, but could be provided by the treesitter syntax tree.

* Constants
* Type-names
* variable-names in for-in statements
* import-names in import statements
* variable-declarations in lambda-expressions

Attached is a patch which fixes this.

—
Kind Regards
Jostein Kjønigsen

￼