Browse Source

changed from ms-python to pyright

master
Marc 3 years ago
parent
commit
2b2bda715f
1 changed files with 14 additions and 4 deletions
  1. 18
      init.org

18
init.org

@ -1209,16 +1209,26 @@ apt install python3-pip python3-setuptools python3-wheel
apt install build-essential python3-dev apt install build-essential python3-dev
pip3 install 'python-language-server[all]' pip3 install 'python-language-server[all]'
Statt obiges: npm install -g pyright
für andere language servers für andere language servers
https://github.com/emacs-lsp/lsp-mode#install-language-server https://github.com/emacs-lsp/lsp-mode#install-language-server
#+BEGIN_SRC emacs-lisp #+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 :ensure t
:after lsp-mode
:defer t :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 (use-package python
:if *sys/linux* :if *sys/linux*
:delight "π " :delight "π "

Loading…
Cancel
Save