Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ssh remoting: open settings locally (#18020)

Conrad Irwinfb7a7a564a54
diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rs
index a7c63c57f69..98ac49992d0 100644
--- a/crates/workspace/src/workspace.rs
+++ b/crates/workspace/src/workspace.rs
@@ -1578,7 +1578,7 @@ impl Workspace {
T: 'static,
F: 'static + FnOnce(&mut Workspace, &mut ViewContext<Workspace>) -> T,
{
- if self.project.read(cx).is_local_or_ssh() {
+ if self.project.read(cx).is_local() {
Task::Ready(Some(Ok(callback(self, cx))))
} else {
let env = self.project.read(cx).cli_environment(cx);