mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 12:25:05 +00:00
Prettier fix
This commit is contained in:
parent
ca239ace93
commit
86775c1418
1 changed files with 4 additions and 1 deletions
|
@ -46,6 +46,9 @@ export async function handle(change: SourceChange) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
editor.selection = new vscode.Selection(position, position);
|
editor.selection = new vscode.Selection(position, position);
|
||||||
editor.revealRange(new vscode.Range(position, position), vscode.TextEditorRevealType.Default);
|
editor.revealRange(
|
||||||
|
new vscode.Range(position, position),
|
||||||
|
vscode.TextEditorRevealType.Default
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue