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.
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.