diff options
Diffstat (limited to 'users')
-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 |