Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes #8472 #8535

Merged
merged 2 commits into from
Aug 28, 2023
Merged

fixes #8472 #8535

merged 2 commits into from
Aug 28, 2023

Conversation

fernando-gap
Copy link
Contributor

What this PR does / why we need it:
Add await keyword to vscode.window.showTextDocument(doc);. The ":split" command wasn't opening the correct file because the function vscode.window.showTextDocument wasn't being awaited causing the wrong window to close by hidePreviousEditor().

Which issue(s) this PR fixes
#8472

Special notes for your reviewer:

Copy link
Member

@J-Fields J-Fields left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@J-Fields J-Fields merged commit 4dd96f8 into VSCodeVim:master Aug 28, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants