Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
move visible text to just start anchor with context lines for semantic search
KCaverlye8210b827d8b
diff --git a/crates/search/src/project_search.rs b/crates/search/src/project_search.rsindex 28085f59feb..6903337e071 100644--- a/crates/search/src/project_search.rs+++ b/crates/search/src/project_search.rs@@ -217,7 +217,7 @@ impl ProjectSearch {let matches = results.into_iter()- .map(|result| (result.buffer, vec![result.range]))+ .map(|result| (result.buffer, vec![result.range.start..result.range.start])).collect();excerpts.stream_excerpts_with_context_lines(matches, 3, cx)