mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +00:00
fix(messages): more ext_messages kinds #31279
Add kinds for various commands that output a list, the 'wildmode' list, and for number prompts.
This commit is contained in:
@@ -721,7 +721,7 @@ void ui_call_event(char *name, bool fast, Array args)
|
||||
// Prompt messages should be shown immediately so must be safe
|
||||
if (strcmp(name, "msg_show") == 0) {
|
||||
char *kind = args.items[0].data.string.data;
|
||||
fast = !kind || (strncmp(kind, "confirm", 7) != 0 && strcmp(kind, "return_prompt") != 0);
|
||||
fast = !kind || ((strncmp(kind, "confirm", 7) != 0 && strstr(kind, "_prompt") == NULL));
|
||||
}
|
||||
|
||||
map_foreach(&ui_event_cbs, ui_event_ns_id, event_cb, {
|
||||
|
Reference in New Issue
Block a user