We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58e954a commit 2b2adb9Copy full SHA for 2b2adb9
lua/lazy/core/handler/event.lua
@@ -68,7 +68,7 @@ function M.trigger(opts)
68
local done = {} ---@type table<string,true>
69
for _, autocmd in ipairs(vim.api.nvim_get_autocmds({ event = opts.event, pattern = opts.pattern })) do
70
local id = autocmd.event .. ":" .. (autocmd.group or "") ---@type string
71
- local skip = done[id] or (opts.exclude and vim.list_contains(opts.exclude, autocmd.group))
+ local skip = done[id] or (opts.exclude and vim.tbl_contains(opts.exclude, autocmd.group))
72
done[id] = true
73
if autocmd.group and not skip then
74
if Config.options.debug then
0 commit comments