mirror of
https://github.com/zoriya/lz.n.git
synced 2026-06-07 20:31:23 +00:00
fix(hooks): regression preventing beforeAll from being run (#101)
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user