This commit is contained in:
Roberto Vidal 2019-04-16 22:11:50 +02:00
parent 3bdd6973d1
commit 145ee9c3e9

View File

@ -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();
}
}
}