fix(nvim): properly set padding for heirline mode
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m22s
All checks were successful
Check Formatting of Files / Check-Formatting (push) Successful in 1m22s
This commit is contained in:
parent
c67654ec49
commit
634f80826f
@ -104,8 +104,10 @@ return {
|
|||||||
{
|
{
|
||||||
provider = function(self)
|
provider = function(self)
|
||||||
local padding = 1
|
local padding = 1
|
||||||
return pad(padding) .. " " .. self.mode_names[self.mode]
|
return pad(padding)
|
||||||
or " " .. vim.inspect(self.mode) .. pad(padding)
|
.. " "
|
||||||
|
.. (self.mode_names[self.mode] or (" " .. vim.inspect(self.mode)))
|
||||||
|
.. pad(padding)
|
||||||
end,
|
end,
|
||||||
hl = function(self)
|
hl = function(self)
|
||||||
return { bg = self:mode_color(), bold = true, fg = colors.sumiInk0 }
|
return { bg = self:mode_color(), bold = true, fg = colors.sumiInk0 }
|
||||||
|
Loading…
Reference in New Issue
Block a user