diff --git a/lua/lazy/view/float.lua b/lua/lazy/view/float.lua index 248334e..cddcfa6 100644 --- a/lua/lazy/view/float.lua +++ b/lua/lazy/view/float.lua @@ -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", diff --git a/lua/lazy/view/init.lua b/lua/lazy/view/init.lua index 998c531..b7e7a84 100644 --- a/lua/lazy/view/init.lua +++ b/lua/lazy/view/init.lua @@ -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)