Fix anaconda-mode loading late in python-mode #638
This would mean anaconda-mode's config wouldn't work until the second opened python buffer (or invokation of python-mode).
This commit is contained in:
parent
82f240ffc9
commit
83db654058
1 changed files with 2 additions and 1 deletions
|
@ -72,11 +72,12 @@ environment variables."
|
|||
|
||||
|
||||
(def-package! anaconda-mode
|
||||
:hook python-mode
|
||||
:after python
|
||||
:init
|
||||
(setq anaconda-mode-installation-directory (concat doom-etc-dir "anaconda/")
|
||||
anaconda-mode-eldoc-as-single-line t)
|
||||
:config
|
||||
(add-hook 'python-mode-hook #'anaconda-mode)
|
||||
(add-hook 'anaconda-mode-hook #'anaconda-eldoc-mode)
|
||||
(set! :company-backend 'python-mode '(company-anaconda))
|
||||
(set! :popup "^\\*anaconda-mode" nil '((select)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue