From 3c16b6a42d84d6ab5a1189a1878ec14282f55f2d Mon Sep 17 00:00:00 2001 From: gered Date: Sun, 19 Jan 2025 18:50:54 -0500 Subject: [PATCH] disable automatic lsp server installation prompting this gets annoying, especially when there's some other issue preventing lsp server installation to occur (e.g. missing npm, or some other dependency) as it will just keep prompting until you install it. ugh. --- emacs.d/lsp.el | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emacs.d/lsp.el b/emacs.d/lsp.el index 8577a56..160307e 100644 --- a/emacs.d/lsp.el +++ b/emacs.d/lsp.el @@ -36,6 +36,10 @@ ;; seems to remove the semi-annoying "Unable to autoconfigure company-mode" warning ;; but still leaves completion via corfu working? (setq lsp-completion-provider :none) + ; disable automatic prompting of lsp server installations when opening new files + ; NOTE: to do this manually, using M-x lsp-install-server + ; NOTE: visit https://emacs-lsp.github.io/lsp-mode/page/languages/ for manual language server install docs + (setq lsp-enable-suggest-server-download nil) :commands lsp) (use-package lsp-ui