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.

editor: Don't bypass show_edit_predictions when navigating diagnostics (#56055)

Shuhei Kadowakib93d14edf25c
diff --git a/crates/editor/src/diagnostics.rs b/crates/editor/src/diagnostics.rs
index 37a0f209d70..f3e3137b3fa 100644
--- a/crates/editor/src/diagnostics.rs
+++ b/crates/editor/src/diagnostics.rs
@@ -192,8 +192,8 @@ impl Editor {
});
self.activate_diagnostics(buffer_id, diagnostic, window, cx);
self.refresh_edit_prediction(
- false,
true,
+ false,
EditPredictionRequestTrigger::DiagnosticNavigation,
window,
cx,