Match on names only when outline query has no spaces
Co-Authored-By: Antonio Scandurra <me@as-cii.com> Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
ce51196eab
commit
ea69dcd42a
4 changed files with 73 additions and 34 deletions
|
@ -1712,6 +1712,7 @@ impl MultiBufferSnapshot {
|
|||
..self.anchor_in_excerpt(excerpt_id.clone(), item.range.end),
|
||||
text: item.text,
|
||||
highlight_ranges: item.highlight_ranges,
|
||||
name_ranges: item.name_ranges,
|
||||
})
|
||||
.collect(),
|
||||
))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue