Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
assistant: Fix file slash command not allowing to select multiple files when pressing tab (#17652)
Bennet Bo Fenner0b0cd9005e3f
diff --git a/crates/assistant/src/slash_command/file_command.rs b/crates/assistant/src/slash_command/file_command.rsindex c253e5b91c0..e5d8f1b2d6b 100644--- a/crates/assistant/src/slash_command/file_command.rs+++ b/crates/assistant/src/slash_command/file_command.rs@@ -164,11 +164,7 @@ impl SlashCommand for FileSlashCommand {Some(ArgumentCompletion {label,new_text: text,- after_completion: if path_match.is_dir {- AfterCompletion::Compose- } else {- AfterCompletion::Run- },+ after_completion: AfterCompletion::Compose,replace_previous_arguments: false,})})