diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 34b25dcbea1956910080b765eb32c016ec379463..237c68491a94f1447d38997a970ad24fcde8c7ba 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