OmniSharp / omnisharp-vim

Vim omnicompletion (intellisense) and more for C#
http://www.omnisharp.net
MIT License
1.72k stars 168 forks source link

Use virtualedit to simplify inserting buffer edits #778

Closed nickspoons closed 2 years ago

nickspoons commented 2 years ago

Previously we used a clumsy hack to handle inserting buffer changes from the server at the end of a line. However there were cases where this still wasn't working correctly.

This change temporarily sets virtualedit=all (locally for the window), which simplifies the code and removes the hack.