Append :fmt as a separate history state

This commit is contained in:
Blaž Hrastnik 2021-05-18 17:53:00 +09:00
parent 2100f5a2c0
commit 5a245b83a0

View File

@ -927,6 +927,7 @@ fn format(editor: &mut Editor, args: &[&str], event: PromptEvent) {
if let Ok(transaction) = transaction {
doc.apply(&transaction, view.id);
doc.append_changes_to_history(view.id);
}
}
}