mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-04 17:22:19 +00:00
change 'let mut' keyword completion into 'ietm' snippet
This commit is contained in:
@@ -365,7 +365,7 @@ pub(crate) fn complete_expr_path(
|
||||
add_keyword("false", "false");
|
||||
|
||||
if in_condition || in_block_expr {
|
||||
add_keyword("let mut", "let mut $0");
|
||||
add_keyword("letm", "let mut $0");
|
||||
add_keyword("let", "let $0");
|
||||
}
|
||||
|
||||
|
||||
@@ -347,7 +347,7 @@ fn main() {
|
||||
"#,
|
||||
);
|
||||
check_edit(
|
||||
"let mut",
|
||||
"letm",
|
||||
r#"
|
||||
fn main() {
|
||||
$0
|
||||
|
||||
Reference in New Issue
Block a user