Open wbthomason opened 4 years ago
@wbthomason: Is this something we still want now? Sounds quite obscure to me.
Is there any difference between this and using an autocmd and timer? I have this in my setup and it seems to work fine if I specify User PackLoad
as the event
for some plugins:
vim.defer_fn(function()
api.nvim_exec_autocmds("User", { pattern = "PackLoad" })
end, 200)
I think this is what has been requested with this issue.
By the way
you could just directly call require"packer".loader(<plugin>)
inside the function() end
instead of using the autocmd
Mentioned in #4 - make it possible to specify a plugin to be loaded after some delay (not based on an autocommand).