remove once property from auto commands (they get deleted anyways)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user