From 2b2bda715f363079048ebdbf0633f119a11d64c0 Mon Sep 17 00:00:00 2001 From: Marc Date: Wed, 21 Apr 2021 09:21:55 +0200 Subject: [PATCH] changed from ms-python to pyright --- init.org | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/init.org b/init.org index 57996ca..e3cba56 100644 --- a/init.org +++ b/init.org @@ -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 "π "