fix user options not being applied

closes #69
This commit is contained in:
mvllow 2022-02-14 15:20:28 -06:00
commit 64986b857d
3 changed files with 15 additions and 13 deletions

View file

@ -167,13 +167,14 @@ function M.colorscheme()
---@param color string
local function get_palette_color(color)
color = color:lower()
local p = require('rose-pine.palette')
if color and not color:find('#') then
return p[color:lower()]
if color and not color:find('#') and color ~= 'none' then
return p[color]
end
return color:lower()
return color
end
---@param group string