mirror of https://github.com/folke/lazy.nvim.git
feat(event): track event trigger times
This commit is contained in:
parent
50a456c189
commit
46997de1c9
|
@ -75,8 +75,10 @@ function M:trigger(event, pattern, groups)
|
||||||
pattern and (" - **pattern:** " .. pattern),
|
pattern and (" - **pattern:** " .. pattern),
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Util.track({ event = autocmd.group_name })
|
||||||
Util.try(function()
|
Util.try(function()
|
||||||
vim.api.nvim_exec_autocmds(autocmd.event, { group = autocmd.group, modeline = false })
|
vim.api.nvim_exec_autocmds(autocmd.event, { group = autocmd.group, modeline = false })
|
||||||
|
Util.track()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue