mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 14:21:44 +00:00
fix postfix match indent
This commit is contained in:
parent
5b2fd86d25
commit
b811922a53
2 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@ pub(super) fn complete_postfix(acc: &mut Completions, ctx: &CompletionContext) {
|
|||
ctx,
|
||||
"match",
|
||||
"match expr {}",
|
||||
&format!("match {} {{\n${{1:_}} => {{$0\\}},\n}}", receiver_text),
|
||||
&format!("match {} {{\n ${{1:_}} => {{$0\\}},\n}}", receiver_text),
|
||||
)
|
||||
.add_to(acc);
|
||||
postfix_snippet(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue