Restore EGLOT pylsp configuration
This commit is contained in:
parent
fa440e6d7f
commit
5fb628c6b1
25
init.el
25
init.el
|
@ -1018,7 +1018,30 @@
|
|||
(eglot-autoreconnect (* 60 5))
|
||||
(eglot-events-buffer-config '(:size 0))
|
||||
:init
|
||||
(setq eglot-stay-out-of '(flymake)))
|
||||
(setq eglot-stay-out-of '(flymake))
|
||||
:config
|
||||
(setq-default eglot-workspace-configuration
|
||||
'( :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)))))
|
||||
)
|
||||
|
||||
(use-package apheleia
|
||||
:if (package-installed-p 'apheleia)
|
||||
|
|
Loading…
Reference in a new issue