From a9338d2a4ab24ce3644154ba7aa49eced171c8ce Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 2 Sep 2025 00:16:33 +0200 Subject: [PATCH] docs(lsp): doctor: warn about +booster w/o +eglot --- modules/tools/lsp/doctor.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/tools/lsp/doctor.el b/modules/tools/lsp/doctor.el index 9b67ae95c..f4e7c7ed4 100644 --- a/modules/tools/lsp/doctor.el +++ b/modules/tools/lsp/doctor.el @@ -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")))