diff options
| author | Jakob L. Kreuze | 2019-02-24 18:26:56 -0500 |
|---|---|---|
| committer | Jakob L. Kreuze | 2019-02-24 18:26:56 -0500 |
| commit | 592af2be1c7d21e490086fc414ac02c224a45704 (patch) | |
| tree | 685dbbfe6df7663d7cd47e558fb0e274b8752470 /jakob.org | |
| parent | d974bc42efd2dabd131910b3e829b4dc46c9b249 (diff) | |
Run rustfmt automatically when saving .rs files
Diffstat (limited to 'jakob.org')
| -rw-r--r-- | jakob.org | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1749,7 +1749,14 @@ Enable [[company]], ElDoc, and racer. (use-package rust-mode :hook - (rust-mode . racer-mode)) + (rust-mode . racer-mode) +#+END_SRC + +Run =rustfmt= automatically. + +#+BEGIN_SRC elisp + :init + (setq rust-format-on-save t)) #+END_SRC Enable flycheck. |