fix(nvim): add fallback for unknown mode in heirline
This commit is contained in:
parent
5990963264
commit
09ab5e4c7b
@ -101,7 +101,8 @@ return {
|
||||
{
|
||||
provider = function(self)
|
||||
local padding = 1
|
||||
return pad(padding) .. " " .. self.mode_names[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 }
|
||||
|
Loading…
Reference in New Issue
Block a user