diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 00ae0bcbac1e49e193739ed8b8af77a8c02dc845..8f69efe30ef9f3be5f95b49162bb57baa43346dc 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -20549,7 +20549,9 @@ impl Editor { ) .detach(); } - self.update_lsp_data(false, Some(buffer_id), window, cx); + if self.active_diagnostics != ActiveDiagnostic::All { + self.update_lsp_data(false, Some(buffer_id), window, cx); + } cx.emit(EditorEvent::ExcerptsAdded { buffer: buffer.clone(), predecessor: *predecessor,