From cfd5a1c4582eec16fe9a229503d8817f1e94eb8e Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Thu, 14 Nov 2024 00:53:43 -0500 Subject: [PATCH] tweak: remove `lsp-mode` install suggestions --- config.org | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/config.org b/config.org index 8f368b1..235c52c 100644 --- a/config.org +++ b/config.org @@ -4252,6 +4252,17 @@ The =lsp-java= package provides LSP support using the standard Java language ser #+call: confpkg("Mode: LSP") +The emacs package =lsp-mode= is the package of choice for general LSP integration in Emacs. The Doom Emacs module =:tools lsp= handles most of the basic configuration for it, but there's one minor annoyance it doesn't cover: when a server isn't found for a particular language, =lsp-mode= tries to install the server itself to a local directory, which is a completely useless space-filler for my purposes since that I use NixOS. + +There is luckily a configuration variable to disable this suggestion: + +#+begin_src emacs-lisp +(after! lsp-mode + (setq lsp-enable-suggest-server-download nil)) +#+end_src + +*** Bindings + Some more convenient leader key bindings would be nice to prevent having to trawl through the =lsp-command-map=. #+begin_src emacs-lisp