mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Fix compile errors with lsp2
Co-authored-by: Jospeh <joseph@zed.dev>
This commit is contained in:
parent
69e5ecc015
commit
6fe393db2a
@ -240,7 +240,7 @@ impl LanguageServer {
|
||||
let stderr_input_task = stderr
|
||||
.map(|stderr| {
|
||||
let io_handlers = io_handlers.clone();
|
||||
let stderr_captures = stderr_captures.clone();
|
||||
let stderr_captures = stderr_capture.clone();
|
||||
cx.spawn(|_| Self::handle_stderr(stderr, io_handlers, stderr_captures).log_err())
|
||||
})
|
||||
.unwrap_or_else(|| Task::Ready(Some(None)));
|
||||
|
@ -2964,7 +2964,7 @@ impl Project {
|
||||
)
|
||||
})??;
|
||||
|
||||
Ok(language_server)
|
||||
Ok(Some(language_server))
|
||||
}
|
||||
|
||||
async fn setup_pending_language_server(
|
||||
|
@ -117,7 +117,6 @@ fn main() {
|
||||
let copilot_language_server_id = languages.next_language_server_id();
|
||||
languages.set_executor(cx.executor().clone());
|
||||
languages.set_language_server_download_dir(paths::LANGUAGES_DIR.clone());
|
||||
let languages = Arc::new(languages);
|
||||
let node_runtime = RealNodeRuntime::new(http.clone());
|
||||
|
||||
language2::init(cx);
|
||||
|
Loading…
Reference in New Issue
Block a user