Do not require lsp-mode to be installed anymore

eglot should do the trick for most of my needs, so no need to
force-install lsp-mode.
This commit is contained in:
Daniel Borchmann 2024-12-21 20:53:52 +01:00
parent f646a2f98a
commit 9e898e2100
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1400,7 +1400,7 @@ Note that this workaround is incomplete, as explained in this comment."
;; See https://andreyor.st/posts/2023-09-09-migrating-from-lsp-mode-to-eglot/ ;; See https://andreyor.st/posts/2023-09-09-migrating-from-lsp-mode-to-eglot/
;; for where some of the configuration for `lsp-mode' is coming from. ;; for where some of the configuration for `lsp-mode' is coming from.
(use-package lsp-mode (use-package lsp-mode
:ensure t :ensure nil
:init (setq lsp-keymap-prefix "C-c C-l" :init (setq lsp-keymap-prefix "C-c C-l"
lsp-session-file (expand-file-name ".lsp-session" emacs-d-userdata) lsp-session-file (expand-file-name ".lsp-session" emacs-d-userdata)
lsp-use-plists t ; not quite sure whether this is a good lsp-use-plists t ; not quite sure whether this is a good
@ -1416,7 +1416,7 @@ Note that this workaround is incomplete, as explained in this comment."
:commands (lsp lsp-deferred)) :commands (lsp lsp-deferred))
(use-package lsp-ui (use-package lsp-ui
:ensure t :ensure nil
:commands (lsp-ui-mode)) :commands (lsp-ui-mode))
(use-package magit (use-package magit