Add pyright LSP config, remove eglot-connect-timeout (back to default)
This commit is contained in:
parent
6b2c28ef55
commit
500435acd8
6
init.el
6
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
|
||||
|
|
Loading…
Reference in a new issue