Flat index with python imenu
This commit is contained in:
parent
d74147f618
commit
e379c876c2
1 changed files with 6 additions and 3 deletions
|
@ -81,6 +81,9 @@
|
|||
'((?: . (lambda ()
|
||||
(if (python-info-statement-starts-block-p)
|
||||
'after)))))
|
||||
(when (fboundp #'python-imenu-create-flat-index)
|
||||
(setq-local imenu-create-index-function
|
||||
#'python-imenu-create-flat-index))
|
||||
(electric-layout-mode +1)
|
||||
(add-hook 'after-save-hook 'prelude-python-mode-set-encoding nil 'local))
|
||||
|
||||
|
|
Loading…
Reference in a new issue