[Emacs] Format rust on save

This commit is contained in:
Ivan Malison 2019-12-10 14:03:12 -08:00
parent 1b25fe76b2
commit ef895eba48
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -2784,7 +2784,8 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
:hook (rust-mode . lsp)
:preface
(progn
(defun imalison:rust-mode-hook ()))
(defun imalison:rust-mode-hook ()
(setq rust-format-on-save t)))
:config
(progn
(use-package toml-mode)