fix: prevent double-delete autocmd ids (#97)
This commit is contained in:
parent
82c706822b
commit
41077847b9
1 changed files with 1 additions and 0 deletions
|
|
@ -290,6 +290,7 @@ M.open_float = function(dir)
|
|||
for _, id in ipairs(autocmds) do
|
||||
vim.api.nvim_del_autocmd(id)
|
||||
end
|
||||
autocmds = {}
|
||||
end),
|
||||
nested = true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue