lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

E5560: nvim_get_option must not be called in a lua loop callback #23

Closed oblitum closed 3 years ago

oblitum commented 3 years ago

I've hit this after the latest updates, while using nvim-dap (never happened before):

Error executing luv callback:
.../site/pack/packer/start/impatient.nvim/lua/impatient.lua:138: E5560: nvim_get_option must not be called in a lua loop callback

nvim 0.5

lewis6991 commented 3 years ago

Thanks. Just fixed this but note that require in a fast callback currently has a known issue in Neovim so nvim-dap should probably be fixed as well.

oblitum commented 3 years ago

Working fine now, thx.