|
|
|
@ -19,20 +19,6 @@
|
|
|
|
|
(pyenv-mode-set pyenv-current-version) |
|
|
|
|
(message (concat "Setting virtualenv to " pyenv-current-version)))))))) |
|
|
|
|
|
|
|
|
|
;; Right now this will require M-x jedi:install-server |
|
|
|
|
;; to use it in a project. |
|
|
|
|
;; TODO: Do the server installation automatically. |
|
|
|
|
(use-package jedi |
|
|
|
|
:ensure t |
|
|
|
|
:hook (python-mode . jedi:setup) |
|
|
|
|
:init |
|
|
|
|
(setq jedi:complete-on-dot t)) |
|
|
|
|
|
|
|
|
|
(use-package company-jedi |
|
|
|
|
:ensure t |
|
|
|
|
:requires jedi |
|
|
|
|
:hook (python-mode . company-jedi)) |
|
|
|
|
|
|
|
|
|
;; For Python enable Elpy. |
|
|
|
|
(use-package elpy |
|
|
|
|
:ensure t |
|
|
|
|