Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
project: Remove non searchable buffer entries on buffer close (#37841)
Lukas Wirthadf43d691a1c
diff --git a/crates/project/src/buffer_store.rs b/crates/project/src/buffer_store.rsindex c2b6145b369..07f8e0c95cf 100644--- a/crates/project/src/buffer_store.rs+++ b/crates/project/src/buffer_store.rs@@ -482,6 +482,7 @@ impl LocalBufferStore {Some(buffer)} else {this.opened_buffers.remove(&buffer_id);+ this.non_searchable_buffers.remove(&buffer_id);None};