aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorRoberto Vidal <[email protected]>2019-04-16 21:11:50 +0100
committerRoberto Vidal <[email protected]>2019-04-16 21:11:50 +0100
commit145ee9c3e9e81821053c33363f0ec3c0397d909d (patch)
tree441fd1614af620880269cf22dd9ad2baaa7151e1 /editors
parent3bdd6973d176abe833477e4dfea9b268af57a99e (diff)
Prettier
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/extension.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/editors/code/src/extension.ts b/editors/code/src/extension.ts
index db67bc7e3..1073a36a0 100644
--- a/editors/code/src/extension.ts
+++ b/editors/code/src/extension.ts
@@ -139,11 +139,10 @@ export function deactivate(): Thenable<void> {
139 return Server.client.stop(); 139 return Server.client.stop();
140} 140}
141 141
142
143async function reloadServer(startServer: () => void) { 142async function reloadServer(startServer: () => void) {
144 if (Server.client != null) { 143 if (Server.client != null) {
145 vscode.window.showInformationMessage('Reloading rust-analyzer...'); 144 vscode.window.showInformationMessage('Reloading rust-analyzer...');
146 await Server.client.stop(); 145 await Server.client.stop();
147 startServer(); 146 startServer();
148 } 147 }
149} \ No newline at end of file 148}