fix: vim.schedule causing issues with autoloading

main
olimorris 2022-06-07 09:43:51 -07:00
parent d9346bf310
commit 66f4405794
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ function M.setup(opts)
config.setup(opts)
setup_commands()
if config.options.autoload and (allow_dir() and not ignore_dir()) and vim.fn.argc() == 0 then
vim.schedule(M.load)
M.load()
end
if
config.options.autosave