From 500435acd8a8fa0788e382380fa3d19e8f4b98c9 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Thu, 4 Jul 2024 17:54:23 +0100 Subject: [PATCH] Add pyright LSP config, remove eglot-connect-timeout (back to default) --- init.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/init.el b/init.el index 9bd1bb4..a078400 100644 --- a/init.el +++ b/init.el @@ -870,7 +870,6 @@ (eglot-extend-to-xref t) (eglot-autoshutdown t) (eglot-sync-connect nil) - (eglot-connect-timeout 5) (eglot-autoreconnect (* 60 5)) (eglot-events-buffer-config '(:size 0)) (eglot-ignored-server-capabilities @@ -905,6 +904,11 @@ :code_actions (:enabled t)) :rope_completion (:enabled t) :yapf (:enabled nil))) + :pyright (:python + (:analysis + ( :autoSearchPaths t + :diagnosticMode "openFilesOnly" + :useLibraryCodeForTypes t))) :nil ( :nix ( :maxMemoryMB nil :flake