mirror of
https://github.com/maxmx03/dracula.nvim.git
synced 2026-09-10 07:26:19 -04:00
update: callback
This commit is contained in:
parent
72452e5cda
commit
93161b3420
|
|
@ -6,7 +6,7 @@ function M:new()
|
|||
transparent = false,
|
||||
colors = {},
|
||||
user_config = {},
|
||||
callback = function() end,
|
||||
callback = function(colors) end,
|
||||
}
|
||||
|
||||
setmetatable(config, self)
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ M.setup = function(user_config)
|
|||
|
||||
theme.set_highlights(M.colors)
|
||||
M:apply_transparency()
|
||||
M.callback()
|
||||
M.callback(M.colors)
|
||||
end
|
||||
|
||||
return M
|
||||
|
|
|
|||
Loading…
Reference in a new issue