Vim
Vim copied to clipboard
"gq" is not working properly when it is supposed to join two lines
Describe the bug Suppose I have two lines, each of them has fewer words than the "vim.textwidth". When my cursor is on the first line, if I press "gq+j", the two lines can not be joined, but rather whitespace will be placed before the second line.
To Reproduce
- Set vim.textwidth to some value (I use 35)
- Type two lines, e.g.
- Put the cursor on the first line and then press "gq" then "j"
- Result:
Expected behavior
After pressing "gq+j" it should become
Environment (please complete the following information):
- Extension (VsCodeVim) version: 1.21.7
- VSCode version: 1.58.0
- OS: Windows 10
Additional context This bug should be caused by update 1.20.2.