mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat!: all plugins are now opt. Plugin.opt => Plugin.lazy
This commit is contained in:
parent
5e0662727d
commit
5134e797f3
7 changed files with 57 additions and 67 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue