Start adding project search listeners to workspace

co-authored-by: Piotr <piotr@zed.dev>

To be able to trigger them from search multibuffer excerpts.
This commit is contained in:
Kirill Bulatov 2024-01-17 15:11:33 +02:00
parent c6c56c35df
commit 306e4693fa
4 changed files with 129 additions and 17 deletions

View file

@ -1148,7 +1148,7 @@ impl Render for AssistantPanel {
|panel, cx| panel.toolbar.read(cx).item_of_type::<BufferSearchBar>(),
cx,
);
BufferSearchBar::register_inner(&mut registrar);
BufferSearchBar::register(&mut registrar);
registrar.into_div()
} else {
div()