Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Update rust-analyzer's `disk_based_diagnostics_progress_token`

Antonio Scandurracb60eb8a57ad
diff --git a/crates/zed/src/languages/rust.rs b/crates/zed/src/languages/rust.rs
index ba51fda2539..30971fef1ae 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<String> {
- Some("rust-analyzer/checkOnSave".into())
+ Some("rust-analyzer/flycheck".into())
}
async fn process_diagnostics(&self, params: &mut lsp::PublishDiagnosticsParams) {