feat!: all plugins are now opt. Plugin.opt => Plugin.lazy

This commit is contained in:
Folke Lemaitre 2022-12-01 11:06:44 +01:00
parent 5e0662727d
commit 5134e797f3
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
7 changed files with 57 additions and 67 deletions

View file

@ -6,10 +6,10 @@ local M = {}
M.build = {
skip = function(plugin)
return not (plugin._.dirty and (plugin.opt == false or plugin.build))
return not (plugin._.dirty and plugin.build)
end,
run = function(self)
Loader.load(self.plugin, { task = "run" }, { load_start = true })
Loader.load(self.plugin, { task = "build" })
local build = self.plugin.build
if build then