mirror of https://github.com/folke/lazy.nvim.git
fix(ui): setup colors when loading a float
This commit is contained in:
parent
6ad76ecc26
commit
dbb2b609f6
|
@ -37,6 +37,7 @@ end
|
|||
|
||||
---@param opts? LazyFloatOptions
|
||||
function M:init(opts)
|
||||
require("lazy.view.colors").setup()
|
||||
self.opts = vim.tbl_deep_extend("force", {
|
||||
size = Config.options.ui.size,
|
||||
style = "minimal",
|
||||
|
|
|
@ -65,8 +65,6 @@ function M.create()
|
|||
vim.wo[self.win].wrap = false
|
||||
end
|
||||
|
||||
require("lazy.view.colors").setup()
|
||||
|
||||
self.state = vim.deepcopy(default_state)
|
||||
|
||||
self.render = Render.new(self)
|
||||
|
|
Loading…
Reference in New Issue