aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands/index.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-17 12:54:33 +0000
committerGitHub <[email protected]>2020-02-17 12:54:33 +0000
commit6167101302bcc2d7f1a345e0ee44e1411056b4b3 (patch)
treedf40b6265f303b8fba5f804a7f7ff370e844dea0 /editors/code/src/commands/index.ts
parentfcf15cc05afaeda6880664777ff2a3db342ea088 (diff)
parentd24e612106867c4bb6a1e59bf99aabfb7bc27823 (diff)
Merge pull request #3190 from matklad/reload
Simplify TS reload logic
Diffstat (limited to 'editors/code/src/commands/index.ts')
-rw-r--r--editors/code/src/commands/index.ts7
1 files changed, 0 insertions, 7 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index b5ebec117..d05f40d67 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -51,10 +51,3 @@ export function selectAndApplySourceChange(ctx: Ctx): Cmd {
51 } 51 }
52 }; 52 };
53} 53}
54
55export function reload(ctx: Ctx): Cmd {
56 return async () => {
57 vscode.window.showInformationMessage('Reloading rust-analyzer...');
58 await ctx.restartServer();
59 };
60}