From ee9fc3f99884e973283f987cf56876e2db334628 Mon Sep 17 00:00:00 2001 From: Aleksander Vognild Burkow Date: Sat, 29 Dec 2018 21:55:07 +0100 Subject: Document formatting capabilities --- editors/README.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editors') diff --git a/editors/README.md b/editors/README.md index ad2ce1695..a63ced725 100644 --- a/editors/README.md +++ b/editors/README.md @@ -45,6 +45,8 @@ It's better to remove existing Rust plugins to avoid interference. `#[test]`, this action runs this specific test. If the cursor is outside of the test function, this re-runs the last test. Do bind this to a shortcut! + - **Format document**. Formats the current file with rustfmt. + Rustfmt must be installed separately with `rustup component add rustfmt`. * Typing assists - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression. -- cgit v1.2.3