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 11:59:52 -03:00 committed by GitHub
parent cf176dab20
commit 2db5eed840
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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()