change 'let mut' keyword completion into 'ietm' snippet

This commit is contained in:
Tongjun Gao 2025-03-04 12:04:54 +08:00
parent 0b9dbe7426
commit 492d5e2bae
2 changed files with 2 additions and 2 deletions

View file

@ -365,7 +365,7 @@ pub(crate) fn complete_expr_path(
add_keyword("false", "false"); add_keyword("false", "false");
if in_condition || in_block_expr { if in_condition || in_block_expr {
add_keyword("let mut", "let mut $0"); add_keyword("letm", "let mut $0");
add_keyword("let", "let $0"); add_keyword("let", "let $0");
} }

View file

@ -347,7 +347,7 @@ fn main() {
"#, "#,
); );
check_edit( check_edit(
"let mut", "letm",
r#" r#"
fn main() { fn main() {
$0 $0