fix(ui): remove a single space character from home title

Align home pill title spacing with other pills
This commit is contained in:
Yuanwei Wu 2024-02-05 21:32:17 +08:00 committed by GitHub
commit 4452e6ed5d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -124,7 +124,7 @@ function M:title()
local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") " local title = " " .. mode.name:sub(1, 1):upper() .. mode.name:sub(2) .. " (" .. mode.key .. ") "
if mode.name == "home" then if mode.name == "home" then
if self.view.state.mode == "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 else
title = " lazy.nvim (H) " title = " lazy.nvim (H) "
end end