Fix release notes appearing in project search (#32898)

Closes #28829

Release Notes:

- Fixed an issue where release notes would appear in project search
results when opened locally
This commit is contained in:
Ben Kunkle
2025-06-17 20:56:41 +00:00
committed by GitHub
parent a422345224
commit 0cda28f786
5 changed files with 149 additions and 5 deletions
+6
View File
@@ -5068,6 +5068,12 @@ impl Project {
pub fn agent_location(&self) -> Option<AgentLocation> {
self.agent_location.clone()
}
pub fn mark_buffer_as_non_searchable(&self, buffer_id: BufferId, cx: &mut Context<Project>) {
self.buffer_store.update(cx, |buffer_store, _| {
buffer_store.mark_buffer_as_non_searchable(buffer_id)
});
}
}
pub struct PathMatchCandidateSet {