From c6329ba8d87f28207244509769938edacf043e85 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Wed, 31 Mar 2021 16:24:54 +0200 Subject: [PATCH] [Emacs] Better settings for `lsp' layer, switch LSP server for Rust `lsp-ui' and `lsp-lens' now enabled by default Rust will now use as its LSP server rust-analyser rather than rls. --- org/config/emacs.org | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/org/config/emacs.org b/org/config/emacs.org index f5b23af..b20cf6a 100644 --- a/org/config/emacs.org +++ b/org/config/emacs.org @@ -559,11 +559,16 @@ enabled support for the ~cmake-ide~ package. #+END_SRC Next, we have the Docker, Nginx, Pass (the standard Unix password manager), -Prettier, Systemd, Meson, Imenu-list, Web-beautify, Dap, Helpful, and LSP layers -enabled. +Prettier, Systemd, Meson, Imenu-list, Web-beautify, Dap, and Helpful. #+BEGIN_SRC emacs-lisp - dap docker helpful imenu-list lsp meson nginx pass prettier systemd - web-beautify + dap docker helpful imenu-list meson nginx pass prettier systemd web-beautify +#+END_SRC + +Of course, let’s not forget about the awesome LSP layer: +#+BEGIN_SRC emacs-lisp + (lsp :variables lsp-lens-enable t + lsp-use-lsp-ui t + lsp-rust-server 'rust-analyzer) #+END_SRC We also have the RestClient layer enabled for which I enabled the Org