I've found a conflict between automatic line breaks in vim and the neocomplete Vundle plugin. When neocomplete is off, then my set textwidth=80 option works correctly in that the a line break is inserted automatically when I type past the 80 character limit.
However, when neocomplete is activated, it doesn't work as I'd expect. When I type past 80 characters, the line doesn't automatically break, and I keep typing beyond that limit. Then, when I hit Enter, the hard line breaks are inserted where they should've been automatically been inserted previously, and my cursor ends up one line below all of the newly formatted text.
I went through my .vimrc and changed the different options I had set for neocomplete, but found that none of them seemed to cause the issue. Merely turning neocomplete results in this behavior.
Does anyone have any ideas as to what causes this, or how to fix it? And can anyone replicate this behavior on their machine?
I'm running arch-linux, which I just switched to a little over a week ago. I was running Xbuntu before that, and I had neocomplete working with no such issues. Here's my .vimrc: http://ift.tt/1wOIZHo
Can anyone replicate this issue with neocomplete and/or have any ideas as to how to fix this without completely removing this plugin?
Aucun commentaire:
Enregistrer un commentaire