fix(messages): list_cmd kind for :registers, :au[g] #32531

Problem:  No kind for `:registers/autocmd/augroup` messages. `:registers`
          chunks are emitted as separate `msg_show` events.

Solution: Add the `list_cmd` kind to the message. Introduce a new
          `msg_ext_skip_flush` variable to set to true around a
          group of to be paired message chunks.
This commit is contained in:
luukvbaal
2025-02-21 01:40:21 +01:00
committed by GitHub
parent f4cd5a33b6
commit 08f7c22377
5 changed files with 82 additions and 50 deletions

View File

@@ -3162,6 +3162,8 @@ void msg_ext_ui_flush(void)
if (!ui_has(kUIMessages)) {
msg_ext_kind = NULL;
return;
} else if (msg_ext_skip_flush) {
return;
}
msg_ext_emit_chunk();