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.

Fix misalignment of vim mode indicator (#10962)

Conrad Irwind1425603f6e0
diff --git a/crates/vim/src/mode_indicator.rs b/crates/vim/src/mode_indicator.rs
index a7033bc2205..9c9f6f32076 100644
--- a/crates/vim/src/mode_indicator.rs
+++ b/crates/vim/src/mode_indicator.rs
@@ -55,6 +55,7 @@ impl Render for ModeIndicator {
Label::new(format!("{} -- {} --", self.operators, mode))
.size(LabelSize::Small)
+ .line_height_style(LineHeightStyle::UiLabel)
.into_any_element()
}
}