chore: swap order of placeholders

This commit is contained in:
Gowri 2021-02-08 18:22:46 +10:30
parent 498dfc45d4
commit 6b947567e1

View File

@ -88,7 +88,7 @@ pub(crate) fn complete_expr_keyword(acc: &mut Completions, ctx: &CompletionConte
add_keyword(ctx, acc, "loop", "loop {$0}");
add_keyword(ctx, acc, "if", "if $0 {}");
add_keyword(ctx, acc, "if let", "if let $1 = $0 {}");
add_keyword(ctx, acc, "for", "for $0 in $1 {}");
add_keyword(ctx, acc, "for", "for $1 in $0 {}");
}
if ctx.if_is_prev || ctx.block_expr_parent {