From 5a245b83a0fbf73f062ba3767580b2b2776fcd21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Tue, 18 May 2021 17:53:00 +0900 Subject: [PATCH] Append :fmt as a separate history state --- helix-term/src/commands.rs | 1 + 1 file changed, 1 insertion(+) 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); } } }