[Emacs] Disable pylsp pydocstyle

This commit is contained in:
Ivan Malison 2023-04-16 01:02:02 -06:00
parent 47898729b6
commit 2374a7ab10
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2252,7 +2252,11 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(imalison:jedi-setup)))) (imalison:jedi-setup))))
:config :config
(progn (progn
(require 'lsp-pylsp) (use-package lsp-mode
:config
(progn
(require 'lsp-pylsp)
(setq lsp-pylsp-plugins-pydocstyle-enabled nil)))
(use-package sphinx-doc) (use-package sphinx-doc)
(unbind-key "C-j" python-mode-map) (unbind-key "C-j" python-mode-map)
(add-hook 'python-mode-hook #'imalison:python-mode))) (add-hook 'python-mode-hook #'imalison:python-mode)))