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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user