mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Prettier
This commit is contained in:
parent
3bdd6973d1
commit
145ee9c3e9
1 changed files with 1 additions and 2 deletions
|
@ -139,11 +139,10 @@ export function deactivate(): Thenable<void> {
|
|||
return Server.client.stop();
|
||||
}
|
||||
|
||||
|
||||
async function reloadServer(startServer: () => void) {
|
||||
if (Server.client != null) {
|
||||
vscode.window.showInformationMessage('Reloading rust-analyzer...');
|
||||
await Server.client.stop();
|
||||
startServer();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue