diff options
| author | Barrett Ruth <62671086+barrettruth@users.noreply.github.com> | 2026-06-23 05:05:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-23 06:05:11 -0400 |
| commit | e4fbe162c193f926000bc83123e40caf8faccb14 (patch) | |
| tree | 26e40d5a8e3e2d4475a7688b70c04b8a7ef33134 /test/functional/vimscript/executable_spec.lua | |
| parent | 487176dcfcb9119e01cba4db5c89abaee45296a2 (diff) | |
| download | rneovim-e4fbe162c193f926000bc83123e40caf8faccb14.tar.gz rneovim-e4fbe162c193f926000bc83123e40caf8faccb14.tar.bz2 rneovim-e4fbe162c193f926000bc83123e40caf8faccb14.zip | |
fix(statusline): defer redraw in aucmd context #40309
Problem: `nvim_exec_autocmds({buf=...})` may temporarily switch curwin/curbuf
through `aucmd_prepbuf()`. Requested statuslines/winbars before
`aucmd_restbuf()` may erroneously see the target window as current.
Solution: Track `aucmd_prepbuf()` window-switch depth and leave statusline/winbar
redraws marked dirty until the original window is restored.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions