mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/python: improve pipenv support
This commit is contained in:
@ -130,7 +130,11 @@
|
|||||||
|
|
||||||
(def-package! pipenv
|
(def-package! pipenv
|
||||||
:commands pipenv-project-p
|
:commands pipenv-project-p
|
||||||
:hook (python-mode . pipenv-mode))
|
:hook (python-mode . pipenv-mode)
|
||||||
|
:init (setq pipenv-with-projectile nil)
|
||||||
|
:config
|
||||||
|
(advice-add #'pipenv-activate :after-while #'+python|update-version)
|
||||||
|
(advice-add #'pipenv-deactivate :after-while #'+python|update-version))
|
||||||
|
|
||||||
|
|
||||||
(def-package! pyenv-mode
|
(def-package! pyenv-mode
|
||||||
|
Reference in New Issue
Block a user