Merge branch 'master' of github.com:bbatsov/prelude
This commit is contained in:
commit
5bc3ceb6d1
1 changed files with 3 additions and 2 deletions
|
@ -87,7 +87,8 @@
|
||||||
(eldoc-mode)
|
(eldoc-mode)
|
||||||
(setq-local electric-layout-rules
|
(setq-local electric-layout-rules
|
||||||
'((?: . (lambda ()
|
'((?: . (lambda ()
|
||||||
(if (python-info-statement-starts-block-p)
|
(and (zerop (first (syntax-ppss)))
|
||||||
|
(python-info-statement-starts-block-p)
|
||||||
'after)))))
|
'after)))))
|
||||||
(when (fboundp #'python-imenu-create-flat-index)
|
(when (fboundp #'python-imenu-create-flat-index)
|
||||||
(setq-local imenu-create-index-function
|
(setq-local imenu-create-index-function
|
||||||
|
|
Loading…
Reference in a new issue