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

@ -367,7 +367,11 @@ messages!(
(FindSearchCandidatesResponse, Background),
(CloseBuffer, Foreground),
(UpdateUserSettings, Foreground),
(CreateLanguageServer, Foreground)
(CreateLanguageServer, Foreground),
(WhichCommand, Foreground),
(WhichCommandResponse, Foreground),
(ShellEnv, Foreground),
(ShellEnvResponse, Foreground),
);
request_messages!(
@ -491,7 +495,9 @@ request_messages!(
(SynchronizeContexts, SynchronizeContextsResponse),
(LspExtSwitchSourceHeader, LspExtSwitchSourceHeaderResponse),
(AddWorktree, AddWorktreeResponse),
(CreateLanguageServer, Ack)
(CreateLanguageServer, Ack),
(WhichCommand, WhichCommandResponse),
(ShellEnv, ShellEnvResponse)
);
entity_messages!(
@ -565,7 +571,9 @@ entity_messages!(
SynchronizeContexts,
LspExtSwitchSourceHeader,
UpdateUserSettings,
CreateLanguageServer
CreateLanguageServer,
WhichCommand,
ShellEnv
);
entity_messages!(