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

Reflow (gq) removes spaces when joining lines #1765

Closed
jacobdufault opened this issue May 26, 2017 · 2 comments
Closed

Reflow (gq) removes spaces when joining lines #1765

jacobdufault opened this issue May 26, 2017 · 2 comments

Comments

@jacobdufault
Copy link

  • Click thumbs-up 👍 on this issue if you want it!
  • Click confused 😕 on this issue if not having it makes VSCodeVim unusable.

The VSCodeVim team prioritizes issues based on reaction count.


BUG REPORT

Environment:

  • VSCode Version: 1.13-insiders
  • VsCodeVim Version: 0.8.3
  • OS: Linux

What happened:

With this text, select both lines and type gq.

// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
// b

Expected

// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa b

Actual

// aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaab
@jacobdufault
Copy link
Author

jacobdufault commented May 26, 2017

Length of the first line doesn't matter, this also breaks:

// a
// b

@xconverge
Copy link
Member

related #1684

Chillee added a commit to Chillee/Vim that referenced this issue May 27, 2017
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

No branches or pull requests

2 participants