on master help sign in
mark reloaded buffers as unchanged
commit25103833b2dc5d6edf1beca396fa838294fc114a authorShafkath Shuhan <shafkathshuhannyc@gmail.com> dateThu 22 Jul 2021, 18:24 (5 years ago) parentd4bd5b3
1 file changed+1
helix-view/src/document.rs+1
helix-view/src/document.rs+1
@@ -611,6 +611,7 @@ impl Document {
611611 let transaction = helix_core::diff::compare_ropes(self.text(), &rope);
612612 self.apply(&transaction, view_id);
613613 self.append_changes_to_history(view_id);
614+ self.reset_modified();
614615
615616 // Detect indentation style and set line ending.
616617 self.detect_indent_style();