diff --git a/src/cmd_line/commands/write.ts b/src/cmd_line/commands/write.ts index 5360daca318..a8be2241654 100644 --- a/src/cmd_line/commands/write.ts +++ b/src/cmd_line/commands/write.ts @@ -52,7 +52,7 @@ export class WriteCommand extends node.CommandBase { // defer saving the file to vscode if file is new (to present file explorer) or if file is a remote file if (vimState.editor.document.isUntitled || vimState.editor.document.uri.scheme !== 'file') { - await vscode.commands.executeCommand('workbench.action.files.save'); + vscode.commands.executeCommand('workbench.action.files.save'); return; }