aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 1a797bb1a03..ab3bf1b4ec0 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1235,7 +1235,7 @@ For NODE, OVERRIDE, START, END, and ARGS, see
1235 (when (python--treesit-variable-p node) 1235 (when (python--treesit-variable-p node)
1236 (treesit-fontify-with-override 1236 (treesit-fontify-with-override
1237 (treesit-node-start node) (treesit-node-end node) 1237 (treesit-node-start node) (treesit-node-end node)
1238 'font-lock-variable-name-face override start end))) 1238 'font-lock-variable-use-face override start end)))
1239 1239
1240 1240
1241;;; Indentation 1241;;; Indentation
@@ -6842,8 +6842,8 @@ implementations: `python-mode' and `python-ts-mode'."
6842 '(( comment definition) 6842 '(( comment definition)
6843 ( keyword string type) 6843 ( keyword string type)
6844 ( assignment builtin constant decorator 6844 ( assignment builtin constant decorator
6845 escape-sequence number property string-interpolation ) 6845 escape-sequence number string-interpolation )
6846 ( bracket delimiter function operator variable))) 6846 ( bracket delimiter function operator variable property)))
6847 (setq-local treesit-font-lock-settings python--treesit-settings) 6847 (setq-local treesit-font-lock-settings python--treesit-settings)
6848 (setq-local imenu-create-index-function 6848 (setq-local imenu-create-index-function
6849 #'python-imenu-treesit-create-index) 6849 #'python-imenu-treesit-create-index)