Skip to content

Commit d789cf8

Browse files
Document } insertion
1 parent 39d59fb commit d789cf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/ide/src/typing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ pub(crate) const TRIGGER_CHARS: &str = ".=>{";
4242
//
4343
// - typing `let =` tries to smartly add `;` if `=` is followed by an existing expression
4444
// - typing `.` in a chain method call auto-indents
45+
// - typing `{` in front of an expression inserts a closing `}` after the expression
4546
//
4647
// VS Code::
4748
//

0 commit comments

Comments
 (0)