Rust

From WikEmacs
Revision as of 14:34, 22 May 2017 by Elvince (talk | contribs) (Rust !)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Let's setup Emacs for Rust development, shall we ?

rust-mode

rust-mode (in MELPA) offers syntax highlighted and code formatting.

700px

Code formatting with rustfmv

Formatting is also provided by this mode. If you want auto formatting everytime you save a buffer, put this in your Init File:

(setq rust-format-on-save t)