tweak: remove lsp-mode install suggestions

This commit is contained in:
Kiana Sheibani 2024-11-14 00:53:43 -05:00
parent 283724a55b
commit cfd5a1c458
Signed by: toki
GPG key ID: 6CB106C25E86A9F7

View file

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