diff options
| author | glepnir <glephunter@gmail.com> | 2026-02-17 20:59:07 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-17 07:59:07 -0500 |
| commit | bd12aef784766eeebb508dbce33d6e4efa16f925 (patch) | |
| tree | 8fa0b5184eccc3b7a6a6d5a654666efadf0202ff /test/functional/vimscript/executable_spec.lua | |
| parent | 73c4472d4a0addec9e52a0e379b3cb0651baf690 (diff) | |
fix(highlight): refresh highlight attrs before message output #25737
Problem:
When MsgArea highlight is changed, the next message may flash
and disappear because msg_start() renders with stale highlight attributes.
msg_puts_len() uses HL_ATTR(HLF_MSG) to render message text, which
happens before update_screen() calls highlight_changed().
So the message is rendered with outdated attrs.
Solution:
Call highlight_changed() in msg_start().
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
