aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-05-18 08:53:00 +0000
committerBlaž Hrastnik2021-05-18 08:53:00 +0000
commit5a245b83a0fbf73f062ba3767580b2b2776fcd21 (patch)
treec2798d5e3d0e999222ce2eab4f3e4a95a7884c62 /helix-term/src
parent2100f5a2c07cd58e05b11d124d56e15fe23685d0 (diff)
Append :fmt as a separate history state
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 5960121a..d2c9e4a7 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -927,6 +927,7 @@ mod cmd {
if let Ok(transaction) = transaction {
doc.apply(&transaction, view.id);
+ doc.append_changes_to_history(view.id);
}
}
}