diff --git a/src/commands/common.ts b/src/commands/common.ts index ff3eb8a..8589825 100644 --- a/src/commands/common.ts +++ b/src/commands/common.ts @@ -381,6 +381,9 @@ export abstract class Command implements Disposable { if (uri !== undefined) { return [{ command: command, type: 'uri', editor: editor, uri: uri }, rest]; } + else { + args = args.slice(1); + } } if (firstArg instanceof ViewNode) {