about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorLukas Wirth <lukastw97@gmail.com>2022-06-05 13:29:08 +0200
committerLukas Wirth <lukastw97@gmail.com>2022-06-05 13:29:08 +0200
commit2a8ea089bfa2715be4024bca3f9494b2a92e16d3 (patch)
tree705add94f54bf57b73ebc46d9c264fbfe2b2e51d /editors/code
parentfd298b3994c1f469eb566192060b4c2fbe78a1c4 (diff)
downloadrust-2a8ea089bfa2715be4024bca3f9494b2a92e16d3.tar.gz
rust-2a8ea089bfa2715be4024bca3f9494b2a92e16d3.zip
fix: Restart the server instead of reloading the window when config changes
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts
index fd9665b6145..dba3421978a 100644
--- a/editors/code/src/config.ts
+++ b/editors/code/src/config.ts
@@ -66,7 +66,7 @@ export class Config {
         );
 
         if (userResponse === "Reload now") {
-            await vscode.commands.executeCommand("workbench.action.reloadWindow");
+            await vscode.commands.executeCommand("rust-analyzer.reload");
         }
     }