Swap pylsp for mypy

This commit is contained in:
Evie Litherland-Smith 2024-10-18 15:19:01 +01:00
parent 8bf9d5c160
commit a3c51e64c9

View file

@ -1357,7 +1357,7 @@ Configure email with iCalendar event support, to integrate with
("C-c c r" . eglot-rename))
:hook ((eglot-managed-mode . (lambda () (add-hook 'flymake-diagnostic-functions 'eglot-flymake-backend nil t)))
(nix-mode . (lambda () (if (executable-find "nixd" t) (eglot-ensure))))
(python-base-mode . (lambda () (if (executable-find "pylsp" t) (eglot-ensure))))
(python-base-mode . (lambda () (if (executable-find "pyright" t) (eglot-ensure))))
(lua-mode . (lambda () (if (executable-find "lua-language-server" t) (eglot-ensure))))
((rust-ts-mode rust-mode) . (lambda () (if (executable-find "rust-analyzer" t) (eglot-ensure))))
((js-base-mode typescript-ts-base-mode) . (lambda () (if (executable-find "typescript-language-server" t) (eglot-ensure)))))