|
|
@ -1209,16 +1209,26 @@ apt install python3-pip python3-setuptools python3-wheel |
|
|
|
apt install build-essential python3-dev |
|
|
|
pip3 install 'python-language-server[all]' |
|
|
|
|
|
|
|
Statt obiges: npm install -g pyright |
|
|
|
|
|
|
|
für andere language servers |
|
|
|
https://github.com/emacs-lsp/lsp-mode#install-language-server |
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp |
|
|
|
(use-package lsp-python-ms |
|
|
|
:if *sys/linux* |
|
|
|
;(use-package lsp-python-ms |
|
|
|
; :if *sys/linux* |
|
|
|
; :ensure t |
|
|
|
; :defer t |
|
|
|
; :custom (lsp-python-ms-auto-install-server t)) |
|
|
|
|
|
|
|
(use-package lsp-pyright |
|
|
|
:ensure t |
|
|
|
:after lsp-mode |
|
|
|
:defer t |
|
|
|
:custom (lsp-python-ms-auto-install-server t)) |
|
|
|
|
|
|
|
; :custom |
|
|
|
; (lsp-pyright-auto-import-completions nil) |
|
|
|
; (lsp-pyright-typechecking-mode "off") |
|
|
|
) |
|
|
|
(use-package python |
|
|
|
:if *sys/linux* |
|
|
|
:delight "π " |
|
|
|