fix: transparent background throwing errors without termguicolors
fixes #623 #625
This commit is contained in:
parent
428da5a1b5
commit
4480d91e60
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue