Rename open_buffer_for_path
to open_buffer
This commit is contained in:
parent
e6755f4115
commit
6446660c88
5 changed files with 64 additions and 143 deletions
|
@ -155,9 +155,7 @@ impl ProjectDiagnosticsEditor {
|
|||
async move {
|
||||
for path in paths {
|
||||
let buffer = project
|
||||
.update(&mut cx, |project, cx| {
|
||||
project.open_buffer_for_path(path.clone(), cx)
|
||||
})
|
||||
.update(&mut cx, |project, cx| project.open_buffer(path.clone(), cx))
|
||||
.await?;
|
||||
this.update(&mut cx, |view, cx| view.populate_excerpts(path, buffer, cx))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue