diff --git a/lua/lualine/highlight.lua b/lua/lualine/highlight.lua index 7072857..42862eb 100644 --- a/lua/lualine/highlight.lua +++ b/lua/lualine/highlight.lua @@ -53,7 +53,7 @@ end ---@param color string|number ---@return string local function sanitize_color(color) - if color == nil or color == '' then + if color == nil or color == '' or (type(color) == 'string' and color:lower() == 'none') then return 'None' end if type(color) == 'string' then