aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
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 2f2b7479..84de4c43 100644
--- a/helix-view/src/document.rs
+++ b/helix-view/src/document.rs
@@ -596,6 +596,7 @@ impl Document {
let transaction = helix_core::diff::compare_ropes(self.text(), &rope);
self.apply(&transaction, view_id);
self.append_changes_to_history(view_id);
+ self.reset_modified();
// Detect indentation style and line ending.
self.detect_indent_style();