diff options
author | William Carroll <wpcarro@gmail.com> | 2022-08-07T19·50-0700 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2022-09-06T17·48+0000 |
commit | e23a55687374d81bb55380081f137873222437f4 (patch) | |
tree | e0c9cfb44e88c486545311c713fb1cef06a66bd4 | |
parent | 7b8e30bdf33f69f27662b52b8be72a20b07cf161 (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>
-rw-r--r-- | users/wpcarro/emacs/.emacs.d/wpc/wpc-rust.el | 5 | ||||
-rw-r--r-- | 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 |