Skip to content

Commit

Permalink
refactor(colors): add type for palette
Browse files Browse the repository at this point in the history
  • Loading branch information
PunGrumpy committed Jan 30, 2024
1 parent 97f2e4e commit e72fb2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/dullahan/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ function M.setup(opts)
local style = config.is_white() and config.options.light_style or config.options.style
local palette = M[style] or {}
if type(palette) == "function" then
---@type Palette
palette = palette()
end

Expand Down

0 comments on commit e72fb2e

Please sign in to comment.