Save an undo checkpoint before paste in insert mode (#8121)

pull/11448/head^2
Michael Davis 1 day ago committed by GitHub
parent 239262e094
commit 59b020ec91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -4339,6 +4339,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