Skip to content

Commit

Permalink
fix(extras): make generation of extras deterministic (#344)
Browse files Browse the repository at this point in the history
* fix: make generation deterministic

* fix: copy colors in empty table

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
  • Loading branch information
riley-martine and folke committed Apr 16, 2023
1 parent 33efb39 commit 715f923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/tokyonight/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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", {}, M.default, palette)

util.bg = colors.bg
util.day_brightness = config.options.day_brightness
Expand Down

0 comments on commit 715f923

Please sign in to comment.