I have configured lsp-mode as follows:
(use-package lsp-mode
:straight t
:init (setq lsp-keymap-prefix "C-c l")
:hook ((python-mode . lsp))
:commands lsp)
I am also using desktop-save-mode to restore my editing state upon restart. When I have several projects open and quit Emacs, the restart takes a long time as it starts each lsp server. Is there a way to start each server only when I run an lsp-related command in the buffer?