aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorGokul Soumya2021-06-19 17:25:50 +0000
committerBlaž Hrastnik2021-06-22 05:27:51 +0000
commit13648d28b902ed9d0db2afe3824786fa844f50e7 (patch)
tree537a06e4651cfe7cd62d16488dca4ba095661acc /helix-view
parent2f321b9335fe566a8e0af4f792d4c3b62d585ba5 (diff)
Add surround keybinds
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/document.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/document.rs b/helix-view/src/document.rs
index bd45db5a..f0d7b55a 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -649,6 +649,7 @@ impl Document {
}
}
+ /// Commit pending changes to history
pub fn append_changes_to_history(&mut self, view_id: ViewId) {
if self.changes.is_empty() {
return;