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
@@ -3317,7 +3317,7 @@ impl Repository {
) -> Task<Result<Entity<Buffer>>> {
cx.spawn(async move |repository, cx| {
let buffer = buffer_store
.update(cx, |buffer_store, cx| buffer_store.create_buffer(cx))?
.update(cx, |buffer_store, cx| buffer_store.create_buffer(false, cx))?
.await?;
if let Some(language_registry) = language_registry {