mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 05:58:33 +00:00
fix(messages): "list_cmd" kind for :command, :version (#34529)
Problem: No ext_messages kind for the :command, :version commands. :version is emitted as multiple events. Solution: Assign them the "list_cmd" kind. Use `msg_put*` to properly format the message as a single event.
This commit is contained in:
@@ -448,6 +448,7 @@ static void uc_list(char *name, size_t name_len)
|
||||
{
|
||||
bool found = false;
|
||||
|
||||
msg_ext_set_kind("list_cmd");
|
||||
// In cmdwin, the alternative buffer should be used.
|
||||
const garray_T *gap = &prevwin_curwin()->w_buffer->b_ucmds;
|
||||
while (true) {
|
||||
|
Reference in New Issue
Block a user