Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Refresh copilot suggestions when accepting a completion

Antonio Scandurra661be7ba51bc
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 041f0b50c60..75de8235513 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()?;