Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fmt

Mikayla Maki6264b2478809
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 0a4204ba2a0..12f5b3b872f 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()
}
}