fix(hooks): regression preventing beforeAll from being run (#101)

This commit is contained in:
Marc Jakobi
2024-10-15 16:30:12 +02:00
committed by GitHub
parent de27f80d43
commit 8259302208
2 changed files with 44 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ end
---@param plugins table<string, lz.n.Plugin>
local function run_before_all(plugins)
---@param plugin lz.n.Plugin
vim.iter(plugins):each(function(plugin)
vim.iter(plugins):each(function(_, plugin)
if plugin.beforeAll then
xpcall(
plugin.beforeAll,