about summary refs log tree commit diff
path: root/users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el
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/.emacs.d/wpc/wpc-rust.el
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/.emacs.d/wpc/wpc-rust.el')
-rw-r--r--users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el5
1 files changed, 3 insertions, 2 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