project: Be explicit about project-searchability for buffers (#37773)

Closes https://github.com/zed-industries/zed/issues/28830

Release Notes:

- Fixed builtin buffers and log views showing up in project search
This commit is contained in:
Lukas Wirth
2025-09-08 11:22:36 +00:00
committed by GitHub
parent 01f5b73e3b
commit 80a4746a46
18 changed files with 71 additions and 53 deletions
+1 -1
View File
@@ -517,7 +517,7 @@ impl HeadlessProject {
let buffer_store = this.buffer_store.clone();
let buffer = this
.buffer_store
.update(cx, |buffer_store, cx| buffer_store.create_buffer(cx));
.update(cx, |buffer_store, cx| buffer_store.create_buffer(true, cx));
anyhow::Ok((buffer_store, buffer))
})??;