feat(plugin): added Plugin.priority for start plugins

This commit is contained in:
Folke Lemaitre 2022-12-27 17:24:40 +01:00
parent eec0485d45
commit edf8310288
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 50 additions and 7 deletions

View file

@ -41,6 +41,7 @@
---@field enabled? boolean|(fun():boolean)
---@field cond? boolean|(fun():boolean)
---@field lazy? boolean
---@field priority? number Only useful for lazy=false plugins to force loading certain plugins first. Default priority is 50
---@field dev? boolean If set, then link to the respective folder under your ~/projects
---@class LazyPlugin: LazyPluginBase,LazyPluginHandlers,LazyPluginHooks,LazyPluginRef