ssh: Lookup language servers in env on SSH host (#17658)

Release Notes:

- ssh remoting: Lookup language server binaries in environment on SSH
host

---------

Co-authored-by: Bennet <bennet@zed.dev>
This commit is contained in:
Thorsten Ball 2024-09-10 16:41:29 -04:00 committed by GitHub
parent 19463b59e2
commit 48a16f9e70
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 181 additions and 32 deletions

View file

@ -1651,6 +1651,14 @@ impl LspAdapter for FakeLspAdapter {
LanguageServerName(self.name.into())
}
async fn check_if_user_installed(
&self,
_: &dyn LspAdapterDelegate,
_: &AsyncAppContext,
) -> Option<LanguageServerBinary> {
Some(self.language_server_binary.clone())
}
fn get_language_server_command<'a>(
self: Arc<Self>,
_: Arc<Path>,