Refresh copilot suggestions when accepting a completion

Antonio Scandurra created

Change summary

crates/editor/src/editor.rs | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

crates/editor/src/editor.rs 🔗

@@ -2489,6 +2489,8 @@ impl Editor {
                     );
                 });
             }
+
+            this.refresh_copilot_suggestions(cx);
         });
 
         let project = self.project.clone()?;