From cd35480327560f80bf4af42c5874691281c244b5 Mon Sep 17 00:00:00 2001 From: Marc Date: Tue, 27 Apr 2021 16:22:13 +0200 Subject: [PATCH] fixes for python lsp --- config.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.org b/config.org index c945b07..728f751 100644 --- a/config.org +++ b/config.org @@ -1423,6 +1423,10 @@ apt install build-essential python3-dev :ensure t :after lsp-mode :defer t + :hook + (python-mode . (lambda () + (require 'lsp-pyright) + (lsp-deferred))) ; :custom ; (lsp-pyright-auto-import-completions nil) ; (lsp-pyright-typechecking-mode "off")