mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
vscode: press ; to respect semicolons
This commit is contained in:
parent
64755b5e1f
commit
7379964048
7 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue