diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs index 0a4204ba2a0b635aec36818bc68cefb7ceb9a2fa..12f5b3b872f6c51fb5b33324c249e77659d3785e 100644 --- a/crates/editor/src/editor.rs +++ b/crates/editor/src/editor.rs @@ -527,8 +527,7 @@ pub struct EditorSnapshot { impl EditorSnapshot { fn has_scrollbar_info(&self, is_singleton: bool) -> bool { - is_singleton && self.buffer_snapshot - .has_git_diffs() + is_singleton && self.buffer_snapshot.has_git_diffs() } }