Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use SaveAll instead of Save
Conrad Irwin53194ede5e3d
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rsindex e2710086373..e8f46d4b27e 100644--- a/crates/workspace/src/pane.rs+++ b/crates/workspace/src/pane.rs@@ -921,7 +921,7 @@ impl Pane {)})?;match answer.next().await {- Some(0) => save_intent = SaveIntent::Save,+ Some(0) => save_intent = SaveIntent::SaveAll,Some(1) => save_intent = SaveIntent::Skip,_ => {}}diff --git a/crates/workspace/src/workspace.rs b/crates/workspace/src/workspace.rsindex f081eb9efae..48f8b99e475 100644--- a/crates/workspace/src/workspace.rs+++ b/crates/workspace/src/workspace.rs@@ -1409,7 +1409,7 @@ impl Workspace {)})?;match answer.next().await {- Some(0) => save_intent = SaveIntent::Save,+ Some(0) => save_intent = SaveIntent::SaveAll,Some(1) => save_intent = SaveIntent::Skip,_ => {}}