Refresh copilot suggestions when hitting alt-]
if none are showing
Co-Authored-By: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
parent
d236d9e8c9
commit
034bc75467
1 changed files with 1 additions and 0 deletions
|
@ -2834,6 +2834,7 @@ impl Editor {
|
||||||
|
|
||||||
fn next_copilot_suggestion(&mut self, _: &copilot::NextSuggestion, cx: &mut ViewContext<Self>) {
|
fn next_copilot_suggestion(&mut self, _: &copilot::NextSuggestion, cx: &mut ViewContext<Self>) {
|
||||||
if self.copilot_state.completions.is_empty() {
|
if self.copilot_state.completions.is_empty() {
|
||||||
|
self.refresh_copilot_suggestions(cx);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue