Migrate to eglot instead of lsp-mode
This commit is contained in:
parent
81ec639b70
commit
324681443d
1 changed files with 1 additions and 17 deletions
|
|
@ -203,22 +203,6 @@
|
||||||
'(ruff-isort ruff))
|
'(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
|
(use-package flymake
|
||||||
:ensure nil
|
:ensure nil
|
||||||
:bind (:map flymake-mode-map
|
:bind (:map flymake-mode-map
|
||||||
|
|
@ -238,7 +222,7 @@
|
||||||
(interactive)
|
(interactive)
|
||||||
(progn
|
(progn
|
||||||
(poetry-venv-workon)
|
(poetry-venv-workon)
|
||||||
(lsp)))
|
(eglot-ensure)))
|
||||||
|
|
||||||
(use-package python
|
(use-package python
|
||||||
:bind (:map python-mode-map
|
:bind (:map python-mode-map
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue