Fix some cases of broken repeat in vim

This commit is contained in:
Conrad Irwin 2024-01-18 13:17:52 -07:00
parent 194e0f3231
commit 4e118f3dd7
4 changed files with 29 additions and 4 deletions

View file

@ -62,6 +62,8 @@ pub struct NeovimBackedTestContext {
impl NeovimBackedTestContext {
pub async fn new(cx: &mut gpui::TestAppContext) -> NeovimBackedTestContext {
#[cfg(feature = "neovim")]
cx.executor().allow_parking();
// rust stores the name of the test on the current thread.
// We use this to automatically name a file that will store
// the neovim connection's requests/responses so that we can