Remove pyright lsp config
This commit is contained in:
parent
f6d639315d
commit
cb16399aee
19
init.el
19
init.el
|
@ -900,7 +900,12 @@
|
||||||
(setq eglot-stay-out-of '(flymake))
|
(setq eglot-stay-out-of '(flymake))
|
||||||
:config
|
:config
|
||||||
(setq-default eglot-workspace-configuration
|
(setq-default eglot-workspace-configuration
|
||||||
'( :pylsp ( :plugins
|
'( :nil ( :nix
|
||||||
|
( :maxMemoryMB nil
|
||||||
|
:flake
|
||||||
|
( :autoArchive t
|
||||||
|
:nixpkgsInputName "nixpkgs")))
|
||||||
|
:pylsp ( :plugins
|
||||||
( :autopep8 (:enabled nil)
|
( :autopep8 (:enabled nil)
|
||||||
:flake8 (:enabled nil)
|
:flake8 (:enabled nil)
|
||||||
:jedi_completion ( :enabled t
|
:jedi_completion ( :enabled t
|
||||||
|
@ -919,17 +924,7 @@
|
||||||
:rope_autoimport ( :completions (:enabled t)
|
:rope_autoimport ( :completions (:enabled t)
|
||||||
:code_actions (:enabled t))
|
:code_actions (:enabled t))
|
||||||
:rope_completion (:enabled t)
|
:rope_completion (:enabled t)
|
||||||
:yapf (:enabled nil)))
|
:yapf (:enabled nil)))))
|
||||||
:pyright (:python
|
|
||||||
(:analysis
|
|
||||||
( :autoSearchPaths t
|
|
||||||
:diagnosticMode "openFilesOnly"
|
|
||||||
:useLibraryCodeForTypes t)))
|
|
||||||
:nil ( :nix
|
|
||||||
( :maxMemoryMB nil
|
|
||||||
:flake
|
|
||||||
( :autoArchive t
|
|
||||||
:nixpkgsInputName "nixpkgs")))))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
(use-package apheleia
|
(use-package apheleia
|
||||||
|
|
Loading…
Reference in a new issue