remove once property from auto commands (they get deleted anyways)
This commit is contained in:
parent
6dd68240ac
commit
a6bf2a2637
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue