ENH don't use pyenv hook unless we need it
This commit is contained in:
parent
e18db58d0c
commit
94c67f76eb
|
@ -1011,7 +1011,6 @@ Note that all my checkers/formatters/interactive shells are managed through =con
|
||||||
(python-mode . company-mode)
|
(python-mode . company-mode)
|
||||||
(python-mode . nd/init-anaconda-company)
|
(python-mode . nd/init-anaconda-company)
|
||||||
(python-mode . blacken-mode)
|
(python-mode . blacken-mode)
|
||||||
(python-mode . pyenv-mode)
|
|
||||||
(inferior-python-mode . company-mode)
|
(inferior-python-mode . company-mode)
|
||||||
(inferior-python-mode . nd/init-anaconda-company))
|
(inferior-python-mode . nd/init-anaconda-company))
|
||||||
:config
|
:config
|
||||||
|
@ -1049,6 +1048,7 @@ Note this also requires all external packages to be installed in each environeme
|
||||||
(use-package pyenv-mode
|
(use-package pyenv-mode
|
||||||
:straight t
|
:straight t
|
||||||
:after python
|
:after python
|
||||||
|
:hook ((python-mode . pyenv-mode))
|
||||||
:init (-some--> (getenv "PYENV_ROOT")
|
:init (-some--> (getenv "PYENV_ROOT")
|
||||||
(f-join it "versions")
|
(f-join it "versions")
|
||||||
(add-to-list 'exec-path it)))
|
(add-to-list 'exec-path it)))
|
||||||
|
|
Loading…
Reference in New Issue