From 4dd96f838b871fc016f3bb0ad30ef79e9e9fe86b Mon Sep 17 00:00:00 2001 From: Fernando Augusto <63003765+fernando-gap@users.noreply.github.com> Date: Mon, 28 Aug 2023 15:53:24 -0300 Subject: [PATCH] Fix `:sp[lit]`. Fixes #8472 (#8535) --- src/cmd_line/commands/file.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd_line/commands/file.ts b/src/cmd_line/commands/file.ts index af4283fc1..e193413e7 100644 --- a/src/cmd_line/commands/file.ts +++ b/src/cmd_line/commands/file.ts @@ -221,7 +221,7 @@ export class FileCommand extends ExCommand { } const doc = await vscode.workspace.openTextDocument(fileUri); - vscode.window.showTextDocument(doc); + await vscode.window.showTextDocument(doc); const lineNumber = args.cmd?.type === 'line_number'