mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-10 15:14:32 +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;
|
||||
}
|
||||
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