ssh remoting: Fix cmd-o (#18308)
Release Notes: - ssh-remoting: Cmd-O now correctly opens files on the remote host --------- Co-authored-by: Mikayla <mikayla@zed.dev>
This commit is contained in:
parent
fdb03d3058
commit
d33600525e
15 changed files with 80 additions and 87 deletions
|
@ -230,7 +230,7 @@ pub fn initialize_workspace(
|
|||
|
||||
let project = workspace.project().clone();
|
||||
if project.update(cx, |project, cx| {
|
||||
project.is_local_or_ssh() || project.ssh_connection_string(cx).is_some()
|
||||
project.is_local() || project.is_via_ssh() || project.ssh_connection_string(cx).is_some()
|
||||
}) {
|
||||
project.update(cx, |project, cx| {
|
||||
let fs = app_state.fs.clone();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue