From 7e9bf8a3bbceb513024d5a09433fa72a26690d1e Mon Sep 17 00:00:00 2001 From: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Wed, 26 Mar 2025 13:37:29 +0000 Subject: [PATCH] feat: shift the type to the left _ --- helix-term/src/ui/editor.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index f892fd94a..62d73225f 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -165,7 +165,7 @@ impl EditorView { for (lines_drawn, (line, align)) in lines.iter().enumerate() { let x = match align { - Align::Left => x_start_left, + Align::Left => x_start_left + 4, Align::Center => view.area.x + view.area.width / 2 - line.width() as u16 / 2, }; surface.set_spans(x, y_start + lines_drawn as u16, line, line.width() as u16);