diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 4a9aa79e30..11017df833 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(