Update auto-virtualenv config
It now activates automatically when switching to `python-mode`
This commit is contained in:
parent
ab56d6f449
commit
b48f918bdd
6
init.el
6
init.el
@ -815,7 +815,11 @@
|
||||
(global-anzu-mode 1))
|
||||
|
||||
(use-package auto-virtualenv
|
||||
:ensure t)
|
||||
:ensure t
|
||||
:config
|
||||
(add-hook 'python-mode-hook 'auto-virtualenv-set-virtualenv)
|
||||
(add-hook 'projectile-after-switch-project-hook
|
||||
'auto-virtualenv-set-virtualenv))
|
||||
|
||||
(use-package flymake-python-pyflakes
|
||||
:ensure t)
|
||||
|
Loading…
Reference in New Issue
Block a user