diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f5355c2..286bd2b 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -606,6 +606,12 @@ (when (executable-find "rust-analyzer") (setq lsp-rust-server 'rust-analyzer)) + (lsp-register-custom-settings + '(("pylsp.plugins.pyls_mypy.enabled" t t) + ("pylsp.plugins.pyls_mypy.live_mode" nil t) + ("pylsp.plugins.ruff.enabled" t t))) + + (defun lsp-compile-in-root () "Do compilation in the root dir of a project" (interactive)