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

This commit is contained in:
Folke Lemaitre committed 2023-10-25 15:54:35 +02:00
1 parent 028f69c03c
commit 60e5707013
1 file changed
+1 -1
+1 -1
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 = {}