Skip to content

Commit

Permalink
fix(ui): remove a single space character from home title (#1309)
Browse files Browse the repository at this point in the history
Align home pill title spacing with other pills
  • Loading branch information
wyw committed Mar 7, 2024
1 parent e1e8d2f commit d5c58bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/view/render.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5c58bb

Please sign in to comment.