summaryrefslogtreecommitdiff
path: root/helix-term/src/commands
diff options
context:
space:
mode:
authorKirawi2022-06-02 15:46:53 +0000
committerGitHub2022-06-02 15:46:53 +0000
commit4f3d0a77064aac18cc4386df5c43c312c3b03f69 (patch)
tree49884f98d69267c00ad7ca76da0520203324bec3 /helix-term/src/commands
parentf7c27b604f32cbd10ec42f70d3fec3ff79cacc63 (diff)
append `set_line_ending` to document history (#2649)
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r--helix-term/src/commands/typed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs
index 5121eaa1..0b207f94 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(())
}