Move fuzzy mod out of worktree
We now match against arbitrary strings in addition to paths. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
parent
593afb2d9e
commit
1a21902460
6 changed files with 53 additions and 54 deletions
|
@ -911,7 +911,7 @@ impl WorkspaceHandle for ViewHandle<Workspace> {
|
|||
let tree_id = tree.id();
|
||||
tree.read(cx)
|
||||
.files(0)
|
||||
.map(move |f| (tree_id, f.path().clone()))
|
||||
.map(move |f| (tree_id, f.path.clone()))
|
||||
})
|
||||
.collect::<Vec<_>>()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue