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

Align home pill title spacing with other pills
This commit is contained in:
Wayne Wu 2024-03-08 00:32:52 +08:00 committed by GitHub
parent e1e8d2f0f6
commit d5c58bb193
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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