]> git.eshelyaron.com Git - emacs.git/commit
Make python-ts-mode's syntax-highlighting more standardized
authorDmitry Gutov <dmitry@gutov.dev>
Thu, 23 Nov 2023 22:00:32 +0000 (00:00 +0200)
committerDmitry Gutov <dmitry@gutov.dev>
Thu, 23 Nov 2023 22:00:32 +0000 (00:00 +0200)
commit1978b603bc3068140833e478a8103fea1d185aec
treeed58f3cc2b1ceb43d0b372b6322a955f9548df5d
parent99658346d1edce5248a8d8db76de772b04381e7f
Make python-ts-mode's syntax-highlighting more standardized

This was brought up in a Reddit discussion.

* lisp/progmodes/python.el (python--treesit-fontify-variable):
Use font-lock-variable-use-face (since it applies to references).
(python-ts-mode): Move 'property' from 3rd to 4th
treesit-font-lock-level.
lisp/progmodes/python.el