feat(plugin): dont include plugin spec fragments for disabled or optional plugins

This commit is contained in:
Folke Lemaitre 2023-09-29 10:05:43 +02:00
parent 6b55e4695a
commit aa14c5e7b8
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 111 additions and 65 deletions

View file

@ -2,12 +2,15 @@
---@alias LazyPluginKind "normal"|"clean"|"disabled"
---@class LazyPluginState
---@field fid number id of the plugin spec fragment
---@field fpid? number parent id of the plugin spec fragment
---@field fdeps? number[] children ids of the fragment
---@field loaded? {[string]:string}|{time:number}
---@field installed boolean
---@field installed? boolean
---@field tasks? LazyTask[]
---@field dirty? boolean
---@field updated? {from:string, to:string}
---@field is_local boolean
---@field is_local? boolean
---@field updates? {from:GitInfo, to:GitInfo}
---@field cloned? boolean
---@field kind? LazyPluginKind