forked from colonelpanic/dotfiles
[Emacs] Format rust on save
This commit is contained in:
parent
1b25fe76b2
commit
ef895eba48
@ -2784,7 +2784,8 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
:hook (rust-mode . lsp)
|
:hook (rust-mode . lsp)
|
||||||
:preface
|
:preface
|
||||||
(progn
|
(progn
|
||||||
(defun imalison:rust-mode-hook ()))
|
(defun imalison:rust-mode-hook ()
|
||||||
|
(setq rust-format-on-save t)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(use-package toml-mode)
|
(use-package toml-mode)
|
||||||
|
Loading…
Reference in New Issue
Block a user