Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
fixed bug limiting number of results returned
KCaverly330a71d28b55
diff --cc crates/semantic_index/src/semantic_index.rsindex 59cf596e7f0,fd41cb15002..f42544af1c6--- a/crates/semantic_index/src/semantic_index.rs+++ b/crates/semantic_index/src/semantic_index.rs@@@ -834,12 -822,8 +829,9 @@@ impl SemanticIndexOk(ix) => ix,Err(ix) => ix,};+- if ix <= limit {- min_similarity = Some(similarity);- results.insert(ix, (id, similarity));- results.truncate(limit);- }+ results.insert(ix, (id, similarity));+ results.truncate(limit);}}}