fix(colors): make extras deterministic. Fixes #344

This commit is contained in:
Folke Lemaitre 2023-04-22 09:24:42 +02:00
parent d78d3de58c
commit 3f18207ff1
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040

View File

@ -108,7 +108,7 @@ function M.setup(opts)
-- Color Palette
---@class ColorScheme: Palette
local colors = vim.tbl_deep_extend("force", {}, M.default, palette)
local colors = vim.tbl_deep_extend("force", vim.deepcopy(M.default), palette)
util.bg = colors.bg
util.day_brightness = config.options.day_brightness