diff --git a/lua/sloth-flake/dep.lua b/lua/sloth-flake/dep.lua index 0864f7f..70c8726 100644 --- a/lua/sloth-flake/dep.lua +++ b/lua/sloth-flake/dep.lua @@ -33,7 +33,7 @@ function M.new(values) dep:import() end - if self.is_lazy then + if self.is_lazy or self.values.init then vim.cmd("packadd " .. self.name) end end,