From a51334f00b1e3bdde4154d6ce544dab0b7854765 Mon Sep 17 00:00:00 2001
From: Nik Revenco <154856872+NikitaRevenco@users.noreply.github.com>
Date: Thu, 27 Mar 2025 16:42:01 +0000
Subject: [PATCH] feat: increase padding by 1

---
 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 3df7b37a..55d289e9 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -156,7 +156,7 @@ impl EditorView {
         let y_center = view.area.x + view.area.width / 2;
 
         let x_start_left =
-            view.area.x + (view.area.width / 2).saturating_sub(longest_left as u16 / 2) + 1;
+            view.area.x + (view.area.width / 2).saturating_sub(longest_left as u16 / 2) + 2;
 
         let has_x_left_overflow = (x_start_left + longest_left as u16) > view.area.width;
         let has_x_center_overflow = longest_center as u16 > view.area.width;