Append :fmt as a separate history state
This commit is contained in:
parent
2100f5a2c0
commit
5a245b83a0
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user