haskell-vim-now icon indicating copy to clipboard operation
haskell-vim-now copied to clipboard

gqap results in "par error: Impossibility #5 has occurred. Please report it."

Open mingyuguo opened this issue 8 years ago • 3 comments

How to reproduce this bug:

Linux, create a document without extension. Fill in random Chinese paragraphs (Chinese characters in unicode take two slots instead of one) use gqap, I get the error in the title, and the paragraph is completely gone.

mingyuguo avatar Apr 04 '17 10:04 mingyuguo

After some googling, I disabled "use par for prettier line formatting" in .vimrc

In my opinion, this default option is pretty dangerous, because it empties out the paragraph it tries to format.

mingyuguo avatar Apr 04 '17 10:04 mingyuguo

What's a better formatting program we should use?

begriffs avatar Apr 04 '17 13:04 begriffs

I have no idea. vim default seems fine.

mingyuguo avatar Apr 04 '17 13:04 mingyuguo