From d5c58bb1937f8aee390f206e724ef23b0cc95eb3 Mon Sep 17 00:00:00 2001 From: Wayne Wu <11427457+wyw@users.noreply.github.com> Date: Fri, 8 Mar 2024 00:32:52 +0800 Subject: [PATCH] fix(ui): remove a single space character from home title (#1309) Align home pill title spacing with other pills --- lua/lazy/view/render.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lazy/view/render.lua b/lua/lazy/view/render.lua index 7487056..1d97dd3 100644 --- a/lua/lazy/view/render.lua +++ b/lua/lazy/view/render.lua @@ -124,7 +124,7 @@ function M:title() local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") " if mode.name == "home" then if self.view.state.mode == "home" then - title = " lazy.nvim " .. Config.options.ui.icons.lazy + title = " lazy.nvim " .. Config.options.ui.icons.lazy else title = " lazy.nvim (H) " end