fix!: run init() before loading start plugins. Fixes #107

This commit is contained in:
Folke Lemaitre 2022-12-22 18:46:43 +01:00
parent fb8287c73d
commit 2756a6f756
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 35 additions and 35 deletions

View file

@ -18,7 +18,7 @@ local M = {}
---@class LazyPluginHooks
---@field init? fun(LazyPlugin) Will always be run
---@field config? fun(LazyPlugin) Will be executed when loading the plugin
---@field config? fun(LazyPlugin)|true|table Will be executed when loading the plugin
---@field build? string|fun(LazyPlugin)
---@class LazyPluginHandlers: table<LazyHandlerTypes, string|string[]>