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:
Conrad Irwin
2024-09-24 16:23:08 -06:00
committed by GitHub
co-authored by Mikayla
parent fdb03d3058
commit d33600525e
15 changed files with 80 additions and 87 deletions
+1 -1
View File
@@ -11819,7 +11819,7 @@ impl Editor {
.filter_map(|buffer| {
let buffer = buffer.read(cx);
let language = buffer.language()?;
if project.is_local_or_ssh()
if project.is_local()
&& project.language_servers_for_buffer(buffer, cx).count() == 0
{
None