From 4f3d0a77064aac18cc4386df5c43c312c3b03f69 Mon Sep 17 00:00:00 2001 From: Kirawi <67773714+kirawi@users.noreply.github.com> Date: Thu, 2 Jun 2022 11:46:53 -0400 Subject: [PATCH] append `set_line_ending` to document history (#2649) --- helix-term/src/commands/typed.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 5121eaa18..0b207f947 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -376,6 +376,7 @@ fn set_line_ending( }), ); doc.apply(&transaction, view.id); + doc.append_changes_to_history(view.id); Ok(()) }