aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorAleksander Vognild Burkow <[email protected]>2018-12-29 20:55:07 +0000
committerAleksander Vognild Burkow <[email protected]>2018-12-29 20:57:46 +0000
commitee9fc3f99884e973283f987cf56876e2db334628 (patch)
tree87c35dbc45c4f02420c79cf55beecd5a89fb44cb /editors
parent8b24f158f75e4496cfc7f8edf9aa41b10dbac9b3 (diff)
Document formatting capabilities
Diffstat (limited to 'editors')
-rw-r--r--editors/README.md2
1 files changed, 2 insertions, 0 deletions
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.
45 `#[test]`, this action runs this specific test. If the cursor is 45 `#[test]`, this action runs this specific test. If the cursor is
46 outside of the test function, this re-runs the last test. Do bind 46 outside of the test function, this re-runs the last test. Do bind
47 this to a shortcut! 47 this to a shortcut!
48 - **Format document**. Formats the current file with rustfmt.
49 Rustfmt must be installed separately with `rustup component add rustfmt`.
48 50
49* Typing assists 51* Typing assists
50 - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression. 52 - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression.