From 2f4480992fa584b2ccaa33eb54d4dbc0ae577f22 Mon Sep 17 00:00:00 2001 From: larstvei Date: Tue, 25 Oct 2022 07:58:55 +0200 Subject: [PATCH] Rust lsp settings --- init.org | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/init.org b/init.org index d52595d..583478f 100644 --- a/init.org +++ b/init.org @@ -1187,6 +1187,13 @@ (add-hook 'gnu-apl-interactive-mode-hook (lambda () (activate-input-method "APL-Z")))) #+end_src +** Rust + + #+begin_src emacs-lisp + (setq lsp-rust-server 'rust-analyzer) + (setq lsp-rust-analyzer-cargo-watch-command "clippy") + #+end_src + * Key bindings Inspired by [[http://stackoverflow.com/questions/683425/globally-override-key-binding-in-emacs][this StackOverflow post]] I keep a =custom-bindings-map= that