fix(nvim): properly set padding for heirline mode
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m22s

This commit is contained in:
Price Hiller 2024-05-19 07:52:11 -05:00
parent c67654ec49
commit 634f80826f
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB

View File

@ -104,8 +104,10 @@ return {
{
provider = function(self)
local padding = 1
return pad(padding) .. "" .. self.mode_names[self.mode]
or "" .. vim.inspect(self.mode) .. pad(padding)
return pad(padding)
.. ""
.. (self.mode_names[self.mode] or ("" .. vim.inspect(self.mode)))
.. pad(padding)
end,
hl = function(self)
return { bg = self:mode_color(), bold = true, fg = colors.sumiInk0 }