From 440c95d37e61e5088cded17781ce4b8d3cc60244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Alvari=C3=B1o?= Date: Mon, 21 Mar 2022 22:04:28 +0100 Subject: [PATCH] Add notes for Rust LSP configuration --- myconfig.org | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/myconfig.org b/myconfig.org index 08f956e..1eda0bb 100644 --- a/myconfig.org +++ b/myconfig.org @@ -817,7 +817,16 @@ References: ** Rust - [[https://robert.kra.hn/posts/2021-02-07_rust-with-emacs/][Robert Kra Emacs Rust Configuration]] - +#+begin_src emacs-lisp + ;; (use-package rust-mode + ;; :hook ((rust-mode . lsp) + ;; (rust-mode . lsp-lens-mode) + ;; ) + ;; :custom + ;; (rust-format-on-save t) + ;; (lsp-rust-server 'rust-analyzer)) +#+end_src + ** Python * next