Save an undo checkpoint before paste in insert mode

pull/8121/head
Michael Davis 10 months ago
parent 6bef982f2d
commit 1657aec663
No known key found for this signature in database

@ -3948,6 +3948,10 @@ fn paste_impl(
return;
}
if mode == Mode::Insert {
doc.append_changes_to_history(view);
}
let repeat = std::iter::repeat(
// `values` is asserted to have at least one entry above.
values

Loading…
Cancel
Save