move visible text to just start anchor with context lines for semantic search
This commit is contained in:
parent
cdceddd2cc
commit
e8210b827d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue