Handling buffer changesΒΆ

Vim version 8.2 introduced the listener_add() and supporting functions, which allow you to immediately respond to changes to a buffer. VPE provides the vpe.Buffer.add_listener method to the vpe.Buffer class as its way of supporting this.

Currently this should be considered very experimental. Feel free to use it and provide feedback, but be prepared for big changes in the next release of VPE.