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.

edit predictions: Do not use conflict context for other providers (#24807)

Agus Zubiaga2db5eed84026
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index bc4f780e6a9..0da2031f887 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -1591,6 +1591,10 @@ impl Editor {
}
pub fn edit_prediction_in_conflict(&self) -> bool {
+ if !self.show_edit_predictions_in_menu() {
+ return false;
+ }
+
let showing_completions = self
.context_menu
.borrow()