aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorJonas Schievink <[email protected]>2021-04-07 16:19:42 +0100
committerJonas Schievink <[email protected]>2021-04-07 16:19:42 +0100
commitd789cf8f31b3f8281046a352a73e17e15ff3c224 (patch)
treebb2d273da1333d8a48f0990d3afce00bfcf9cd3c /crates/ide
parent39d59fb06f8a2ccf35bbd9e7324d3f357a163b26 (diff)
Document `}` insertion
Diffstat (limited to 'crates/ide')
-rw-r--r--crates/ide/src/typing.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ide/src/typing.rs b/crates/ide/src/typing.rs
index 809ff7d20..1378048e5 100644
--- a/crates/ide/src/typing.rs
+++ b/crates/ide/src/typing.rs
@@ -42,6 +42,7 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>{";
42// 42//
43// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression 43// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
44// - typing `.` in a chain method call auto-indents 44// - typing `.` in a chain method call auto-indents
45// - typing `{` in front of an expression inserts a closing `}` after the expression
45// 46//
46// VS Code:: 47// VS Code::
47// 48//