You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the problem is the undotree gets overpopulated, is it possible to populate the tree only when writting the file and not always when leave insert mode, (with always I mean: on what I think is populating the tree on InsertLeave event)
The text was updated successfully, but these errors were encountered:
exactly they are created very ofter, I would like to be able to change how ofter they are created, by changing the event at which they are created for example, instead of the event InsertLeave, another event in the list 'h: events', is this possible?
WIth overpopulated I meant they are created too often, but then again, it's a matter of personal taste, so I guess it could be configurable(based on an event), but I am not sure how to do it here, or if it even is possible.
In my case, I would like to create the node when writting the buffer to disk.
As far as I know, you're not able to change how often the undo nodes are created, nor can the plugin. The undo nodes are usually created when user exits insert mode, and this is why the plugin chose to hook on this event. It doesn't mean the plugin created the undo node. The plugin is essentially a "visualizer“ that displays the vim internal undo state in a fancy way.
the problem is the undotree gets overpopulated, is it possible to populate the tree only when writting the file and not always when leave insert mode, (with always I mean: on what I think is populating the tree on InsertLeave event)
The text was updated successfully, but these errors were encountered: