feat: allow specifying module to require for plugin configs

This commit is contained in:
Will Hopkins 2023-09-30 16:44:26 -07:00
commit 184a778f8f
No known key found for this signature in database
GPG key ID: 643B8C585BABBB68
3 changed files with 6 additions and 2 deletions

View file

@ -20,7 +20,7 @@
---@class LazyPluginHooks
---@field init? fun(self:LazyPlugin) Will always be run
---@field deactivate? fun(self:LazyPlugin) Unload/Stop a plugin
---@field config? fun(self:LazyPlugin, opts:table)|true Will be executed when loading the plugin
---@field config? fun(self:LazyPlugin, opts:table)|string|true Will be executed when loading the plugin
---@field build? string|fun(self:LazyPlugin)|(string|fun(self:LazyPlugin))[]
---@field opts? PluginOpts