mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)))
|
||||
|
Reference in New Issue
Block a user