mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +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:
@@ -1001,6 +1001,7 @@ void do_highlight(const char *line, const bool forceit, const bool init)
|
||||
{
|
||||
// If no argument, list current highlighting.
|
||||
if (!init && ends_excmd((uint8_t)(*line))) {
|
||||
msg_ext_set_kind("list_cmd");
|
||||
for (int i = 1; i <= highlight_ga.ga_len && !got_int; i++) {
|
||||
// TODO(brammool): only call when the group has attributes set
|
||||
highlight_list_one(i);
|
||||
@@ -1038,6 +1039,7 @@ void do_highlight(const char *line, const bool forceit, const bool init)
|
||||
if (id == 0) {
|
||||
semsg(_(e_highlight_group_name_not_found_str), line);
|
||||
} else {
|
||||
msg_ext_set_kind("list_cmd");
|
||||
highlight_list_one(id);
|
||||
}
|
||||
return;
|
||||
|
Reference in New Issue
Block a user