Monday, June 13, 2016

Re: Different hard line wrap behavior with neocomplete

On Mon, 13 Jun 2016 at 12:50pm +0200, Christian Brabandt wrote:

> What version is this?

- Ubuntu 14.04.4 LTS
- Vim 7.4 (included patches: 1-52)
- Neocomplete package version 2.2

> Can you post a screenshot perhaps?

Sure. I found out, however, that hard line wraps work sometimes in
combination with neocomplete, sometimes they don't. See the following
two screenshots:

SCREENSHOT 1:
https://dl.dropboxusercontent.com/u/6021254/Vim/vim-insertmode.png

As you can see, the hard line wrap worked during insert mode for the
first two lines. No hard line wrap was inserted in line 3, however.

SCREENSHOT 2:
https://dl.dropboxusercontent.com/u/6021254/Vim/vim-after_insertmode.png

This screenshot was taken right after pressing ESC. As you can see, line
3 gets correctly formatted.

My desired behavior, though, is that hard line breaks are inserted *while*
typing in insert mode, not after leaving insert mode or by hitting return.

Any ideas?

Best,
Claus

No comments: