about summary refs log tree commit diff
path: root/users/wpcarro/emacs
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2022-08-07T19·50-0700
committerwpcarro <wpcarro@gmail.com>2022-09-06T17·48+0000
commite23a55687374d81bb55380081f137873222437f4 (patch)
treee0c9cfb44e88c486545311c713fb1cef06a66bd4 /users/wpcarro/emacs
parent7b8e30bdf33f69f27662b52b8be72a20b07cf161 (diff)
feat(wpcarro/emacs): Drop racer.el support r/4686
AFAIU `racer` is deprecated in favor of LSP.

Change-Id: I8bee3bb32d208b4f21cd7699ae93fc76a69ec964
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6051
Tested-by: BuildkiteCI
Reviewed-by: wpcarro <wpcarro@gmail.com>
Autosubmit: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/emacs')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el5
-rw-r--r--users/wpcarro/emacs/default.nix3
2 files changed, 5 insertions, 3 deletions
diff --git a/users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el b/users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el
index c95658943269..b609efb431fd 100644
--- a/users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el
+++ b/users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el
@@ -22,8 +22,9 @@
 (use-package rust-mode
   :config
   (setq lsp-rust-server #'rust-analyzer)
-  (add-hook 'rust-mode-hook #'lsp)
-  (setq rust-format-on-save t))
+  (setq rust-format-show-buffer nil)
+  (setq rust-format-on-save t)
+  (add-hook 'rust-mode-hook #'lsp))
 
 (provide 'wpc-rust)
 ;;; wpc-rust.el ends here
diff --git a/users/wpcarro/emacs/default.nix b/users/wpcarro/emacs/default.nix
index 6e732c295ebd..cbbd3e6daab6 100644
--- a/users/wpcarro/emacs/default.nix
+++ b/users/wpcarro/emacs/default.nix
@@ -24,7 +24,8 @@ let
       ispell
       nix
       pass
-      racer
+      rls # Rust Language Server
+      rust-analyzer
       rustc
       rustfmt
       scrot