fixup! recent_projects: Perform fuzzy search on compacted paths.
This commit is contained in:
parent
f164eb5289
commit
15010e94fd
1 changed files with 1 additions and 4 deletions
|
@ -134,10 +134,7 @@ impl PickerDelegate for RecentProjectsDelegate {
|
||||||
let combined_string = location
|
let combined_string = location
|
||||||
.paths()
|
.paths()
|
||||||
.iter()
|
.iter()
|
||||||
.map(|path| {
|
.map(|path| util::paths::compact(&path).to_string_lossy().into_owned())
|
||||||
let compact = util::paths::compact(&path);
|
|
||||||
compact.to_string_lossy().into_owned()
|
|
||||||
})
|
|
||||||
.collect::<Vec<_>>()
|
.collect::<Vec<_>>()
|
||||||
.join("");
|
.join("");
|
||||||
StringMatchCandidate::new(id, combined_string)
|
StringMatchCandidate::new(id, combined_string)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue