Open gozes opened 6 years ago
rust-mode already has this feature, so why duplicate?
I have this in my .emacs
:
(use-package rust-mode
:mode "\\.rs\\'"
:init
(setq rust-format-on-save t))
Thanks for integrating cargo goodies into emacs.
judging by the last comment, we should consider this issue closed, no?
it be nice if there was a variable I could set to t to say to cargo mode to run cargo format when I save a buffer. I tried calling the cargo-process-fmt from my config with a before save hook but it dosn't seam to work