Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Show correct line number for entry placeholders in `/search` (#13151)
Antonio Scandurrad95c424d18dd
diff --git a/crates/assistant/src/slash_command/search_command.rs b/crates/assistant/src/slash_command/search_command.rsindex d0c2deeb230..dcbcdd66923 100644--- a/crates/assistant/src/slash_command/search_command.rs+++ b/crates/assistant/src/slash_command/search_command.rs@@ -159,7 +159,7 @@ impl SlashCommand for SearchSlashCommand {id,path: Some(full_path.clone()),is_directory: false,- line_range: Some(start_row..end_row),+ line_range: Some(start_row + 1..end_row + 1),unfold,}.into_any_element()