VSCodeVim/Vim

Incorrect formatting with `gqq` in Markdown

Open

#3125 aperta il 10 ott 2018

Vedi su GitHub
 (0 commenti) (1 reazione) (0 assegnatari)TypeScript (1271 fork)batch import
help wantedkind/bug

Metriche repository

Star
 (12.664 star)
Metriche merge PR
 (Merge medio 60g 20h) (17 PR mergiate in 30 g)

Descrizione

To Reproduce

  1. Paste the following text into a buffer:
*foo* bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
  1. Press gqq and see the following (notice the leading asterisk on the second line):
*foo* bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
*bar bar bar bar bar bar bar bar bar bar

Expected behavior

As in Vim, the result should be

*foo* bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar bar
bar bar bar bar bar bar bar bar bar bar

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 0.16.9
  • VSCode version: 1.28.0
  • OS: macOS

Guida contributor