aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorGokul Soumya2021-07-24 21:44:19 +0000
committerBlaž Hrastnik2021-07-25 10:49:05 +0000
commite07e42dcfb24dae348c625822abf74fa87968bff (patch)
tree6cf3cc2c5ea42b679a4ef30a46d0c72788cb03b8 /helix-term
parent8da58fe44a040ad6219891251d3b86d6026d0260 (diff)
fix(term): undo-ing code actions
Diffstat (limited to 'helix-term')
-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 4d707de4..06dca5d5 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -2188,6 +2188,7 @@ fn apply_workspace_edit(
offset_encoding,
);
doc.apply(&transaction, view.id);
+ doc.append_changes_to_history(view.id);
}
}
lsp::DocumentChanges::Operations(operations) => {