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.

React with inlay updates on excerpt events

Kirill Bulatovc7fa8dbc70da
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index b73a02d9c39..2d5224de32a 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -7250,11 +7250,11 @@ impl Editor {
predecessor: *predecessor,
excerpts: excerpts.clone(),
});
- false
+ true
}
multi_buffer::Event::ExcerptsRemoved { ids } => {
cx.emit(Event::ExcerptsRemoved { ids: ids.clone() });
- false
+ true
}
multi_buffer::Event::Reparsed => {
cx.emit(Event::Reparsed);