### Expected behavior
No error
### Actual behavior
Error executing vim.schedule lua callback: UnhandledPromiseRejection with the reason:
vim/shared.lua:0: t: expected table, got nil
stack traceback:
[C]: in function 'error'
...serge/.local/share/nvim/lazy/promise-async/lua/async.lua:90: in function 'await'
...ge/.local/share/nvim/lazy/nvim-ufo/lua/ufo/fold/init.lua:34: in function <...ge/.local/share/nvim/lazy/nvim-ufo/lua/ufo/fold/init.lua:24>
Neovim version (nvim -v | head -n1)
NVIM v0.10.0-dev, git202403252105-3f238b39c-971e32c87
Operating system/version
Ubuntu 22.04.4 LTS
How to reproduce the issue
close_fold_kinds_for_ft = { "imports", "comment" },
was present in the configuration.In the stable version (9.3) everything is successful. ...
Run :checkhealth for more info
Error executing vim.schedule lua callback: UnhandledPromiseRejection with the reason:
vim/shared.lua:0: t: expected table, got nil
stack traceback:
[C]: in function 'error'
...serge/.local/share/nvim/lazy/promise-async/lua/async.lua:90: in function 'await'
...ge/.local/share/nvim/lazy/nvim-ufo/lua/ufo/fold/init.lua:34: in function <...ge/.local/share/nvim/lazy/nvim-ufo/lua/ufo/fold/init.lua:24>