Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Support `assistant: quote selection` on multibuffers
Antonio Scandurrad5f0df94f7a9
diff --git a/crates/ai/src/assistant.rs b/crates/ai/src/assistant.rsindex 9ca54e661a7..2b4f733c805 100644--- a/crates/ai/src/assistant.rs+++ b/crates/ai/src/assistant.rs@@ -1911,7 +1911,7 @@ impl ConversationEditor {let Some(panel) = workspace.panel::<AssistantPanel>(cx) else {return;};- let Some(editor) = workspace.active_item(cx).and_then(|item| item.downcast::<Editor>()) else {+ let Some(editor) = workspace.active_item(cx).and_then(|item| item.act_as::<Editor>(cx)) else {return;};