aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
authorPascal Kuthe2023-02-02 19:56:52 +0000
committerGitHub2023-02-02 19:56:52 +0000
commit350535208f134f1d8a6201833ad560905fea5abc (patch)
treee98248bac6009def72c352a66ca7a268fe133f17 /helix-term/src/commands.rs
parenta5233cf5ad3c4f8e95228314463cf41d744fac04 (diff)
always commit to history when pasting (#5790)
Diffstat (limited to 'helix-term/src/commands.rs')
-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 7d5f2241..d1dc9223 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -3746,6 +3746,7 @@ fn paste_impl(
}
doc.apply(&transaction, view.id);
+ doc.append_changes_to_history(view);
}
pub(crate) fn paste_bracketed_value(cx: &mut Context, contents: String) {