This reverts commit 7c4fb5a899.
Closes #40792
Release Notes:
- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -640,15 +640,9 @@ impl HeadlessProject {
|
||||
PathStyle::local(),
|
||||
)?;
|
||||
let results = this.update(&mut cx, |this, cx| {
|
||||
project::Search::local(
|
||||
this.fs.clone(),
|
||||
this.buffer_store.clone(),
|
||||
this.worktree_store.clone(),
|
||||
message.limit as _,
|
||||
cx,
|
||||
)
|
||||
.into_handle(query, cx)
|
||||
.matching_buffers(cx)
|
||||
this.buffer_store.update(cx, |buffer_store, cx| {
|
||||
buffer_store.find_search_candidates(&query, message.limit as _, this.fs.clone(), cx)
|
||||
})
|
||||
})?;
|
||||
|
||||
let mut response = proto::FindSearchCandidatesResponse {
|
||||
|
||||
Reference in New Issue
Block a user