fix: vim.schedule causing issues with autoloading
parent
d9346bf310
commit
66f4405794
|
|
@ -87,7 +87,7 @@ function M.setup(opts)
|
||||||
config.setup(opts)
|
config.setup(opts)
|
||||||
setup_commands()
|
setup_commands()
|
||||||
if config.options.autoload and (allow_dir() and not ignore_dir()) and vim.fn.argc() == 0 then
|
if config.options.autoload and (allow_dir() and not ignore_dir()) and vim.fn.argc() == 0 then
|
||||||
vim.schedule(M.load)
|
M.load()
|
||||||
end
|
end
|
||||||
if
|
if
|
||||||
config.options.autosave
|
config.options.autosave
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue