remove once property from auto commands (they get deleted anyways)

This commit is contained in:
2025-04-25 16:21:16 -05:00
parent 6dd68240ac
commit a6bf2a2637

View File

@ -51,7 +51,7 @@ end
---@param opts vim.api.keyset.create_autocmd? options
function lazy:auto(event, opts)
opts = opts or {}
opts['once'] = opts['once'] or true
opts['callback'] = opts['callback'] or function()
self:cleanup()
end