From 661be7ba51bc296977894427856942a37cfb6dfc Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Wed, 5 Apr 2023 10:28:00 +0200 Subject: [PATCH] Refresh copilot suggestions when accepting a completion --- crates/editor/src/editor.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 041f0b50c60241ec1f89c8f4ee143cdb7c28879c..75de8235513468163a108e06db933cf98ecee12c 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -2489,6 +2489,8 @@ impl Editor { ); }); } + + this.refresh_copilot_suggestions(cx); }); let project = self.project.clone()?;