Merge pull request #1815 from bersace/pyenv-set-version-from-file
lang/python: recognize .python-version files
This commit is contained in:
commit
c023cef415
2 changed files with 33 additions and 1 deletions
|
@ -223,7 +223,9 @@ called.")
|
|||
:config
|
||||
(pyenv-mode +1)
|
||||
(when (executable-find "pyenv")
|
||||
(add-to-list 'exec-path (expand-file-name "shims" (or (getenv "PYENV_ROOT") "~/.pyenv")))))
|
||||
(add-to-list 'exec-path (expand-file-name "shims" (or (getenv "PYENV_ROOT") "~/.pyenv"))))
|
||||
(add-hook 'python-mode-hook #'+python-pyenv-mode-set-auto-h)
|
||||
(add-hook 'doom-switch-buffer-hook #'+python-pyenv-mode-set-auto-h))
|
||||
|
||||
|
||||
(use-package! conda
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue