working on initialization + index breakup

This commit is contained in:
KCaverly 2023-08-22 14:45:27 +02:00
parent ced2b2aec3
commit aabdfa210f
2 changed files with 197 additions and 113 deletions

View file

@ -849,7 +849,7 @@ impl ProjectSearchView {
let model = model.read(cx);
project = model.project.clone();
SemanticIndex::global(cx).map(|semantic| {
semantic.update(cx, |this, cx| this.initialize_project(project, cx))
semantic.update(cx, |this, cx| this.initialize_project(project.clone(), cx));
});
}