Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Capitalize default slash command description (#25794)

5brian472dde509f99
diff --git a/crates/assistant_slash_commands/src/default_command.rs b/crates/assistant_slash_commands/src/default_command.rs
index 82d47bf11fa..b076a3a0a52 100644
--- a/crates/assistant_slash_commands/src/default_command.rs
+++ b/crates/assistant_slash_commands/src/default_command.rs
@@ -21,11 +21,11 @@ impl SlashCommand for DefaultSlashCommand {
}
fn description(&self) -> String {
- "insert default prompt".into()
+ "Insert default prompt".into()
}
fn menu_text(&self) -> String {
- "Insert Default Prompt".into()
+ self.description()
}
fn requires_argument(&self) -> bool {