diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index dd32d7420c..041f0b50c6 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -3991,6 +3991,7 @@ impl Editor { } self.request_autoscroll(Autoscroll::fit(), cx); self.unmark_text(cx); + self.refresh_copilot_suggestions(cx); cx.emit(Event::Edited); } } @@ -4005,6 +4006,7 @@ impl Editor { } self.request_autoscroll(Autoscroll::fit(), cx); self.unmark_text(cx); + self.refresh_copilot_suggestions(cx); cx.emit(Event::Edited); } }