Use Elpy instead of LSP
This commit is contained in:
parent
e21370628b
commit
f5459dfafc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user