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 Makicb97f5a69c1a
diff --git a/crates/editor/src/editor.rs b/crates/editor/src/editor.rs
index 6a22a1f1f23..47f31f2c94c 100644
--- a/crates/editor/src/editor.rs
+++ b/crates/editor/src/editor.rs
@@ -8171,9 +8171,9 @@ fn build_style(
line_height_scalar = match mode {
EditorMode::Full => line_height_scalar,
- EditorMode::AutoHeight { .. } | EditorMode::SingleLine => {
- cx.font_cache().line_height(field_editor_theme.text.font_size)
- }
+ EditorMode::AutoHeight { .. } | EditorMode::SingleLine => cx
+ .font_cache()
+ .line_height(field_editor_theme.text.font_size),
};
EditorStyle {