diff options
author | Yuan Fu <casouri@gmail.com> | 2022-09-24 19:41:17 -0700 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-09-24 21:11:30 -0700 |
commit | 795e01ac248d389a581589b13a02465a2f99202f (patch) | |
tree | 8ba12d103784a17b37df98bd41f7d71483f5d008 /lisp/emacs-lisp/debug.el | |
parent | f071e61d106e6f3c17b660e3aa1a5b7890ea5d41 (diff) | |
download | emacs-795e01ac248d389a581589b13a02465a2f99202f.tar.gz emacs-795e01ac248d389a581589b13a02465a2f99202f.tar.bz2 emacs-795e01ac248d389a581589b13a02465a2f99202f.zip |
Update and enable treesit-imenu function in python.el
* lisp/progmodes/python.el (python--treesit-settings): Add docstring.
(python--imenu-treesit-create-index-1): Rewrite with
treesit-induce-sparse-tree.
(python-imenu-treesit-create-index): Move main body to
python--imenu-treesit-create-index-1.
(python-imenu-treesit-create-flat-index): Fix typo.
(python-mode): Enable treesit-imenu. Also fix indentation for
which-func code.
Diffstat (limited to 'lisp/emacs-lisp/debug.el')
0 files changed, 0 insertions, 0 deletions