From 6c499b1441a2c1ee219faad23a858121295ebe1d Mon Sep 17 00:00:00 2001 From: LeMarsu Date: Sat, 8 Jun 2024 23:57:29 +0200 Subject: [PATCH] fix: plugins with init are now loaded as they should be --- lua/sloth-flake/dep.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,