mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Fold multiline comments
This commit is contained in:
parent
2ba6f18586
commit
ee0a6bf053
2 changed files with 21 additions and 21 deletions
|
@ -20,8 +20,8 @@ export function activate(context: vscode.ExtensionContext) {
|
|||
f: (...args: any[]) => Promise<boolean>
|
||||
) {
|
||||
const defaultCmd = `default:${name}`;
|
||||
const original = async (...args: any[]) =>
|
||||
await vscode.commands.executeCommand(defaultCmd, ...args);
|
||||
const original = (...args: any[]) =>
|
||||
vscode.commands.executeCommand(defaultCmd, ...args);
|
||||
|
||||
registerCommand(name, async (...args: any[]) => {
|
||||
const editor = vscode.window.activeTextEditor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue