diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 34b25dcbea..237c68491a 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -12820,11 +12820,11 @@ impl Editor { cx.spawn_in(window, |_, mut cx| async move { let transaction = futures::select_biased! { + transaction = format.log_err().fuse() => transaction, () = timeout => { log::warn!("timed out waiting for formatting"); None } - transaction = format.log_err().fuse() => transaction, }; buffer