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

This is to avoid confusing copilot/supermaven users when the cursor is
on leading whitespace.

Release Notes:

- N/A
This commit is contained in:
Agus Zubiaga
2025-02-13 14:59:52 +00:00
committed by GitHub
parent cf176dab20
commit 2db5eed840
+4
View File
@@ -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()