When opening items via project panel, only focus them on double-click
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
61346f734d
commit
2e6cf2011d
7 changed files with 98 additions and 61 deletions
|
@ -50,7 +50,7 @@ impl<'a> VimTestContext<'a> {
|
|||
|
||||
let file = cx.read(|cx| workspace.file_project_paths(cx)[0].clone());
|
||||
let item = workspace
|
||||
.update(cx, |workspace, cx| workspace.open_path(file, cx))
|
||||
.update(cx, |workspace, cx| workspace.open_path(file, true, cx))
|
||||
.await
|
||||
.expect("Could not open test file");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue