docs(lsp): doctor: warn about +booster w/o +eglot

This commit is contained in:
Henrik Lissner
2025-09-02 00:16:33 +02:00
parent 2d28328b43
commit a9338d2a4a

View File

@@ -8,5 +8,7 @@
(warn! "Couldn't find npm. `lsp-mode' needs npm to auto-install some LSP servers. For more information, see https://emacs-lsp.github.io/lsp-mode/page/languages/.")))
(when (modulep! +booster)
(unless (executable-find "emacs-lsp-booster")
(warn! "Couldn't find emacs-lsp-booster executable.")))
(if (modulep! +eglot)
(unless (executable-find "emacs-lsp-booster")
(warn! "Couldn't find emacs-lsp-booster executable."))
(error! "+booster does nothing without +eglot")))