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

Fix bang command with ranges #7122

Merged
merged 3 commits into from Oct 3, 2021

Conversation

tagniam
Copy link
Contributor

@tagniam tagniam commented Oct 2, 2021

What this PR does / why we need it:
Fixes the bang ! command when used with a range, which is currently broken since any bang commands with ranges operate on all lines since the range isn't passed in properly.

Also improved some tests which should've detected this regression, but didn't because they executed on all lines.

Which issue(s) this PR fixes
#3136

tagniam and others added 3 commits October 2, 2021 01:27
Line range tests didn't catch the recent regression
where selection ranges were ignored in the bang command.
@J-Fields J-Fields merged commit 0c6a84a into VSCodeVim:master Oct 3, 2021
@J-Fields
Copy link
Member

J-Fields commented Oct 3, 2021

Thank you!

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.

None yet

2 participants