[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

@ -2251,8 +2251,12 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab
(lsp-deferred) (lsp-deferred)
(imalison:jedi-setup)))) (imalison:jedi-setup))))
:config :config
(progn
(use-package lsp-mode
:config
(progn (progn
(require 'lsp-pylsp) (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)))