Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Format all selections even if they are cursors (#22933)
Michael Sloanc9008fb8c184
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rsindex 4a9aa79e306..11017df8335 100644--- a/crates/editor/src/editor.rs+++ b/crates/editor/src/editor.rs@@ -10260,7 +10260,6 @@ impl Editor {.all_adjusted(cx).into_iter().map(|selection| selection.range())- .filter(|s| !s.is_empty()).collect_vec();Some(self.perform_format(