Revert "Remove pylsp config from eglot-workspace-configuration"

This reverts commit a043994bf6.
This commit is contained in:
Evie Litherland-Smith 2024-07-03 13:17:25 +01:00
parent b6ce38d080
commit 5e7b0e849f

30
init.el
View file

@ -871,11 +871,31 @@
(setq eglot-stay-out-of '(flymake)) (setq eglot-stay-out-of '(flymake))
:config :config
(setq-default eglot-workspace-configuration (setq-default eglot-workspace-configuration
'(:nil ( :nix '( :pylsp ( :plugins
( :maxMemoryMB nil ( :autopep8 (:enabled nil)
:flake :flake8 (:enabled nil)
( :autoArchive t :jedi_completion ( :enabled t
:nixpkgsInputName "nixpkgs"))))) :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 (use-package apheleia