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.
This commit is contained in:
Gered 2025-01-19 18:50:54 -05:00
parent e87251cd54
commit 3c16b6a42d

View file

@ -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