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 #1251: gq always adds an extra space to beginning of block. #1596

Merged
merged 2 commits into from
Apr 28, 2017

Conversation

Chillee
Copy link
Member

@Chillee Chillee commented Apr 28, 2017

I think the issue here is that when we go word by word adding it in, we always add " {$word}". However, the first word shouldn't have an extra space in front of it.

This problem should also be fixable here, but I thought my current solution was fine.
https://github.com/VSCodeVim/Vim/blob/master/src/actions/actions.ts#L4514,

@johnfn
Copy link
Member

johnfn commented Apr 28, 2017

LGTM. Thanks for the fix! :)

@johnfn johnfn merged commit 72a33c8 into VSCodeVim:master Apr 28, 2017
@Chillee Chillee changed the title Fixes #1251 Fixes #1251: gq always adds an extra space to beginning of block. May 2, 2017
@Chillee Chillee mentioned this pull request May 10, 2017
This pull request was closed.
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