[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.
This commit is contained in:
Lucien Cartier-Tilet 2021-03-31 16:24:54 +02:00
parent 78efbc027a
commit c6329ba8d8
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 9 additions and 4 deletions

View File

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