diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index cfe803adfc2dc19ee4758dd56c7b96240e40780b..fca43214222b00ea16035ce6216a0b450ee5d93f 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -2834,6 +2834,7 @@ impl Editor { fn next_copilot_suggestion(&mut self, _: &copilot::NextSuggestion, cx: &mut ViewContext) { if self.copilot_state.completions.is_empty() { + self.refresh_copilot_suggestions(cx); return; }