fixup! recent_projects: Perform fuzzy search on compacted paths.
This commit is contained in:
@@ -134,10 +134,7 @@ impl PickerDelegate for RecentProjectsDelegate {
|
||||
let combined_string = location
|
||||
.paths()
|
||||
.iter()
|
||||
.map(|path| {
|
||||
let compact = util::paths::compact(&path);
|
||||
compact.to_string_lossy().into_owned()
|
||||
})
|
||||
.map(|path| util::paths::compact(&path).to_string_lossy().into_owned())
|
||||
.collect::<Vec<_>>()
|
||||
.join("");
|
||||
StringMatchCandidate::new(id, combined_string)
|
||||
|
||||
Reference in New Issue
Block a user