diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-05-02 20:44:37 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-05-02 20:44:37 +0300 |
commit | 13ef27b266c66ed996bf5afa3c7bbd7f7d6850e8 (patch) | |
tree | 73f2c662873febc8535ae88e34588418ba96114e | |
parent | 4461e67dd98d5039e0fc1c421243c2a5b19c8ac7 (diff) | |
download | liw-dot-files-13ef27b266c66ed996bf5afa3c7bbd7f7d6850e8.tar.gz |
Change: rustfmt in rust-mode on save
-rw-r--r-- | emacs.d/init.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el index 86a67ba..3192fb8 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -33,7 +33,6 @@ (use-package diminish) (use-package go-mode) (use-package graphviz-dot-mode) -(use-package rust-mode) (use-package magit :config @@ -58,6 +57,10 @@ (setq modus-operandi-theme-bold-constructs t) (load-theme 'modus-operandi t)) +(use-package rust-mode + :config + (setq rust-format-on-save t)) + (use-package flycheck) (use-package flycheck-rust) |