fix: plugins with init are now loaded as they should be

main
LeMarsu 2024-06-08 23:57:29 +02:00
parent cbd08e5258
commit 6c499b1441
1 changed files with 1 additions and 1 deletions

View File

@ -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,