From cb60eb8a57ad2a2db23cbdc738c218c679efc082 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 19 Dec 2022 16:27:25 +0100 Subject: [PATCH] Update rust-analyzer's `disk_based_diagnostics_progress_token` --- crates/zed/src/languages/rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/zed/src/languages/rust.rs b/crates/zed/src/languages/rust.rs index ba51fda253..30971fef1a 100644 --- a/crates/zed/src/languages/rust.rs +++ b/crates/zed/src/languages/rust.rs @@ -93,7 +93,7 @@ impl LspAdapter for RustLspAdapter { } async fn disk_based_diagnostics_progress_token(&self) -> Option { - Some("rust-analyzer/checkOnSave".into()) + Some("rust-analyzer/flycheck".into()) } async fn process_diagnostics(&self, params: &mut lsp::PublishDiagnosticsParams) {