mirror of
https://github.com/neovim/neovim.git
synced 2026-01-29 16:40:59 +10:00
Problem: Calling :redraw from vim.ui_attach() callback results in
recursive cmdline/message events.
Solution: Avoid recursiveness where possible and replace global "call_buf"
with separate, temporary buffers for each event so that when a Lua
callback for one event fires another event, that does not result
in invalid memory access.
5.6 KiB
5.6 KiB