Revert "Remove pylsp config from eglot-workspace-configuration"
This reverts commit a043994bf6
.
This commit is contained in:
parent
b6ce38d080
commit
5e7b0e849f
30
init.el
30
init.el
|
@ -871,11 +871,31 @@
|
|||
(setq eglot-stay-out-of '(flymake))
|
||||
:config
|
||||
(setq-default eglot-workspace-configuration
|
||||
'(:nil ( :nix
|
||||
( :maxMemoryMB nil
|
||||
:flake
|
||||
( :autoArchive t
|
||||
:nixpkgsInputName "nixpkgs")))))
|
||||
'( :pylsp ( :plugins
|
||||
( :autopep8 (:enabled nil)
|
||||
:flake8 (:enabled nil)
|
||||
:jedi_completion ( :enabled t
|
||||
:include_params t
|
||||
:include_class_objects t
|
||||
:include_function_objects t
|
||||
:fuzzy t)
|
||||
:jedi_definition (:enabled t)
|
||||
:jedi_hover (:enabled t)
|
||||
:mccabe (:enabled nil)
|
||||
:preload (:enabled nil)
|
||||
:pycodestyle (:enabled nil)
|
||||
:pydocstyle (:enabled nil)
|
||||
:pyflakes (:enabled nil)
|
||||
:pylint (:enabled nil)
|
||||
:rope_autoimport ( :completions (:enabled t)
|
||||
:code_actions (:enabled t))
|
||||
:rope_completion (:enabled t)
|
||||
:yapf (:enabled nil)))
|
||||
:nil ( :nix
|
||||
( :maxMemoryMB nil
|
||||
:flake
|
||||
( :autoArchive t
|
||||
:nixpkgsInputName "nixpkgs")))))
|
||||
)
|
||||
|
||||
(use-package apheleia
|
||||
|
|
Loading…
Reference in a new issue