Enable mypy and ruff pylsp plugins
This commit is contained in:
parent
9e09f7e05f
commit
5f3d421593
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user