Add only one worktree when running zed /dir /dir/file
This commit is contained in:
parent
9d8e3f51c8
commit
bba65e120d
4 changed files with 90 additions and 41 deletions
|
@ -49,7 +49,7 @@ pub fn new_journal_entry(app_state: Arc<AppState>, cx: &mut MutableAppContext) {
|
|||
|
||||
let opened = workspace
|
||||
.update(&mut cx, |workspace, cx| {
|
||||
workspace.open_paths(&[entry_path], cx)
|
||||
workspace.open_paths(vec![entry_path], cx)
|
||||
})
|
||||
.await;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue