vscode: press ; to respect semicolons

This commit is contained in:
Veetaha 2020-02-17 22:09:44 +02:00
parent 64755b5e1f
commit 7379964048
7 changed files with 17 additions and 17 deletions

View file

@ -16,7 +16,7 @@ export * from './ssr';
export function collectGarbage(ctx: Ctx): Cmd {
return async () => {
ctx.client?.sendRequest<null>('rust-analyzer/collectGarbage', null);
await ctx.client?.sendRequest<null>('rust-analyzer/collectGarbage', null);
};
}

View file

@ -14,9 +14,9 @@ export function ssr(ctx: Ctx): Cmd {
if (x.includes('==>>')) {
return null;
}
return "Enter request: pattern ==>> template"
return "Enter request: pattern ==>> template";
}
}
};
const request = await vscode.window.showInputBox(options);
if (!request) return;