Provide autoload for lsp-mode

This allows activation before `lsp-mode` is loaded.
This commit is contained in:
Daniel Borchmann 2024-12-25 13:21:28 +01:00
parent facd9ccc52
commit 353ce2960b
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1400,6 +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/
;; for where some of the configuration for `lsp-mode' is coming from.
(use-package lsp-mode
:commands (lsp-mode)
:ensure nil
:init (setq lsp-keymap-prefix "C-c C-l"
lsp-session-file (expand-file-name ".lsp-session" emacs-d-userdata)