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:
parent
cf176dab20
commit
2db5eed840
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue