feat: add before hook

This commit is contained in:
Marc Jakobi
2024-06-10 12:37:33 +02:00
parent 64a0bef836
commit 19beffc4d9
2 changed files with 10 additions and 5 deletions
+1
View File
@@ -18,6 +18,7 @@ error("Cannot import a meta module")
--- @class lz.n.PluginHooks
--- @field beforeAll? fun(self:lz.n.Plugin) Will be run before loading any plugins
--- @field before? fun(self:lz.n.Plugin) Will be run before loading this plugin
--- @field after? fun(self:lz.n.Plugin) Will be executed after loading this plugin
--- @class lz.n.PluginHandlers