diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2022-06-05 13:29:08 +0200 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2022-06-05 13:29:08 +0200 |
| commit | 2a8ea089bfa2715be4024bca3f9494b2a92e16d3 (patch) | |
| tree | 705add94f54bf57b73ebc46d9c264fbfe2b2e51d /editors/code | |
| parent | fd298b3994c1f469eb566192060b4c2fbe78a1c4 (diff) | |
| download | rust-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.ts | 2 |
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"); } } |
