From e23a55687374d81bb55380081f137873222437f4 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Sun, 7 Aug 2022 12:50:29 -0700 Subject: feat(wpcarro/emacs): Drop racer.el support 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 Autosubmit: wpcarro --- users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el | 5 +++-- users/wpcarro/emacs/default.nix | 3 ++- 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 -- cgit 1.4.1