Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Fix conflict marker in project diff view (#26466)

Conrad Irwin28f33d01035b
diff --git a/crates/multi_buffer/src/multi_buffer.rs b/crates/multi_buffer/src/multi_buffer.rs
index 1b1d691b53b..78ad43b9024 100644
--- a/crates/multi_buffer/src/multi_buffer.rs
+++ b/crates/multi_buffer/src/multi_buffer.rs
@@ -2147,6 +2147,7 @@ impl MultiBuffer {
}
self.sync_diff_transforms(&mut snapshot, edits, DiffChangeKind::BufferEdited);
+ self.buffer_changed_since_sync.replace(true);
cx.emit(Event::Edited {
singleton_buffer_edited: false,
edited_buffer: None,