diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2026-05-10 14:22:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-10 14:22:31 -0400 |
| commit | 5370eb01469622e02c5831b3c4063c02449a4c5c (patch) | |
| tree | 1154f49fa68eb68300c81cec17668da4f3160a8c /runtime/lua/vim/provider/python.lua | |
| parent | c2d7dd781a8aa5760d98d5cec70b1e3703f0efc6 (diff) | |
| download | rneovim-5370eb01469622e02c5831b3c4063c02449a4c5c.tar.gz rneovim-5370eb01469622e02c5831b3c4063c02449a4c5c.tar.bz2 rneovim-5370eb01469622e02c5831b3c4063c02449a4c5c.zip | |
fix(lua): vim.wait(0) does not call loop_poll #39679
Problem:
Regression from c822a2657c78: `vim.wait(0)` does not call `loop_poll`,
so `vim.wait(1)` is needed to "yield" from Lua.
Solution:
- Ensure that `vim._core.loop_poll()` is always called, even when `time=0`.
- Document how to interrupt Lua code (ctrl-c).
ref https://github.com/neovim/neovim/issues/6800
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions