Open Biggybi opened 1 month ago
Hi, and thank you for a great plugin.
This PR addresses an issue where Alpha attempts to redraw when the buffer is invalid, causing the WinResized autocmd to trigger in a loop.
WinResized
Error 12:10:54 AM msg_show.lua_error Error detected while processing WinResized Autocommands for "*":
It seems to occur if an autocmd on VimEnter opens buffers that we edit/resize.
VimEnter
I believe this check is reasonable, but I understand if you feel it should not be Alpha's responsibility.
Repro:
I encountered this issue using this script.
Related: #282.
Hi, and thank you for a great plugin.
This PR addresses an issue where Alpha attempts to redraw when the buffer is invalid, causing the
WinResized
autocmd to trigger in a loop.It seems to occur if an autocmd on
VimEnter
opens buffers that we edit/resize.I believe this check is reasonable, but I understand if you feel it should not be Alpha's responsibility.
Repro:
I encountered this issue using this script.
Related: #282.