Skip to content
Snippets Groups Projects
Commit 079305a5 authored by Michael Hauspie's avatar Michael Hauspie
Browse files

Switch to rls

parent 1c61bb29
No related branches found
No related tags found
No related merge requests found
...@@ -755,15 +755,15 @@ Some of my configuration entries where borrowed from other people, see ...@@ -755,15 +755,15 @@ Some of my configuration entries where borrowed from other people, see
*** Rust *** Rust
Install =rust-mode= and set the rust language server to Install =rust-mode= and set the rust language server to rls.
[[https://rust-analyzer.github.io/][rust-analyzer]]. It also sets =rustfmt= to be called to format buffer ([[https://rust-analyzer.github.io/][rust-analyzer]] still crashes too much) It also sets =rustfmt= to be
when saving. called to format buffer when saving.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rust-mode (use-package rust-mode
:custom :custom
(lsp-rust-server 'rust-analyzer) (lsp-rust-server 'rls)
(rust-format-on-save t) ; (rust-format-on-save t)
) )
#+end_src #+end_src
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment