Migrate to eglot instead of lsp-mode

This commit is contained in:
Ohad Livne 2025-06-04 22:47:13 +03:00
parent 81ec639b70
commit 324681443d
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

View file

@ -203,22 +203,6 @@
'(ruff-isort ruff))
)
(use-package lsp-mode
:bind (:map lsp-mode-map
("M-?" . lsp-find-references))
:init
(setq lsp-keymap-prefix "C-z l")
:config
(lsp-enable-which-key-integration t)
:custom
; keep-sorted start
(lsp-diagnostics-provider :flymake)
(lsp-pylsp-plugins-mypy-enabled t)
(lsp-pylsp-plugins-mypy-strict t)
(lsp-pylsp-plugins-ruff-enabled t)
; keep-sorted end
)
(use-package flymake
:ensure nil
:bind (:map flymake-mode-map
@ -238,7 +222,7 @@
(interactive)
(progn
(poetry-venv-workon)
(lsp)))
(eglot-ensure)))
(use-package python
:bind (:map python-mode-map