(when (python--treesit-variable-p node)
(treesit-fontify-with-override
(treesit-node-start node) (treesit-node-end node)
- 'font-lock-variable-name-face override start end)))
+ 'font-lock-variable-use-face override start end)))
\f
;;; Indentation
'(( comment definition)
( keyword string type)
( assignment builtin constant decorator
- escape-sequence number property string-interpolation )
- ( bracket delimiter function operator variable)))
+ escape-sequence number string-interpolation )
+ ( bracket delimiter function operator variable property)))
(setq-local treesit-font-lock-settings python--treesit-settings)
(setq-local imenu-create-index-function
#'python-imenu-treesit-create-index)