fix(util): pcall deletion of lazy_file augroup. See #1863

This commit is contained in:
Folke Lemaitre 2023-10-25 15:54:35 +02:00
parent 028f69c03c
commit 60e5707013
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -80,7 +80,7 @@ function M.lazy_file()
if #events == 0 then
return
end
vim.api.nvim_del_augroup_by_name("lazy_file")
pcall(vim.api.nvim_del_augroup_by_name, "lazy_file")
---@type table<string,string[]>
local skips = {}