move visible text to just start anchor with context lines for semantic search
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user