mirror of
https://github.com/neovim/neovim.git
synced 2026-03-26 18:31:59 +00:00
Problem: When an autocommand executes for a non-current buffer,
'eventignorewin' is only checked from the buffer's last
wininfo (overwrites win_ignore in the loop), not from the
value of 'eventignorewin' in all windows showing the buffer as
described (after v9.1.1084)
Solution: Fix the check and don't use wininfo, as that may only contain
windows that recently showed the buffer. Consider all the
buffer's windows in all tabpages (Sean Dewar).
closes: vim/vim#17294
d4110e0695
Co-authored-by: Sean Dewar <6256228+seandewar@users.noreply.github.com>