Add reload workspace command

This commit is contained in:
Aleksey Kladov 2020-07-01 14:57:59 +02:00
parent ec8b4dca02
commit c9f878962a
7 changed files with 16 additions and 16 deletions

View file

@ -330,8 +330,8 @@ export function expandMacro(ctx: Ctx): Cmd {
};
}
export function collectGarbage(ctx: Ctx): Cmd {
return async () => ctx.client.sendRequest(ra.collectGarbage, null);
export function reloadWorkspace(ctx: Ctx): Cmd {
return async () => ctx.client.sendRequest(ra.reloadWorkspace, null);
}
export function showReferences(ctx: Ctx): Cmd {