Use Elpy instead of LSP

This commit is contained in:
Jeremy Dormitzer 2019-08-30 11:48:20 -04:00
parent e21370628b
commit f5459dfafc

View File

@ -1261,11 +1261,16 @@ Configure Java project sources:
* Python
#+BEGIN_SRC emacs-lisp
(add-hook 'python-mode-hook #'lsp)
(leader-def-key "sp" #'run-python)
#+END_SRC
Elpy is a python IDE package:
#+BEGIN_SRC emacs-lisp
(use-package elpy
:init (elpy-enable))
#+END_SRC
Integrate with pyenv:
#+BEGIN_SRC emacs-lisp
(use-package pyvenv
:config