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
|
---@param opts vim.api.keyset.create_autocmd? options
|
||||||
function lazy:auto(event, opts)
|
function lazy:auto(event, opts)
|
||||||
opts = opts or {}
|
opts = opts or {}
|
||||||
opts['once'] = opts['once'] or true
|
|
||||||
opts['callback'] = opts['callback'] or function()
|
opts['callback'] = opts['callback'] or function()
|
||||||
self:cleanup()
|
self:cleanup()
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user