Add pyright LSP config, remove eglot-connect-timeout (back to default)

This commit is contained in:
Evie Litherland-Smith 2024-07-04 17:54:23 +01:00
parent 6b2c28ef55
commit 500435acd8

View file

@ -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