onivim / libvim

libvim: The core Vim editing engine as a minimal C library
https://v2.onivim.io
MIT License
691 stars 34 forks source link

feat(undo): Add sync API #206

Closed bryphe closed 4 years ago

bryphe commented 4 years ago

This adds a vimUndoSync API to create a new undo group - needed for the format feature: https://github.com/onivim/oni2/pull/1903 to ensure formatting changes are properly undoable.