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.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 2f967ebab24..c49af223c66 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -5492,7 +5492,8 @@ Similar to `python-imenu-create-index' but use tree-sitter."
5492 (rx (seq bol 5492 (rx (seq bol
5493 (or "function" "class") 5493 (or "function" "class")
5494 "_definition" 5494 "_definition"
5495 eol))))) 5495 eol))
5496 nil 1000)))
5496 (python--imenu-treesit-create-index-1 tree))) 5497 (python--imenu-treesit-create-index-1 tree)))
5497 5498
5498(defun python-imenu-treesit-create-flat-index () 5499(defun python-imenu-treesit-create-flat-index ()