fix(plugin): better way of dealing with local specs. Fixes #1524

This commit is contained in:
Folke Lemaitre 2024-06-16 07:09:33 +02:00
commit be5dfba542
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 44 additions and 37 deletions

View file

@ -78,6 +78,7 @@
---@alias LazySpec string|LazyPluginSpec|LazySpecImport|LazySpec[]
---@class LazySpecImport
---@field import string spec module to import
---@field import string|(fun():LazyPluginSpec) spec module to import
---@field name? string
---@field enabled? boolean|(fun():boolean)
---@field cond? boolean|(fun():boolean)