aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/option.c
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2024-11-20 21:11:20 +0100
committerGitHub <noreply@github.com>2024-11-20 12:11:20 -0800
commit1b6442034f6a821d357fe59cd75fdae47a7f7cff (patch)
tree579c72ee7b2f78025407d58722f9abc992f12cc1 /src/nvim/option.c
parent0e2f92ed79e3c976ab5a41d40380e761e7f69d3a (diff)
downloadrneovim-1b6442034f6a821d357fe59cd75fdae47a7f7cff.tar.gz
rneovim-1b6442034f6a821d357fe59cd75fdae47a7f7cff.tar.bz2
rneovim-1b6442034f6a821d357fe59cd75fdae47a7f7cff.zip
fix(messages): more ext_messages kinds #31279
Add kinds for various commands that output a list, the 'wildmode' list, and for number prompts.
Diffstat (limited to 'src/nvim/option.c')
-rw-r--r--src/nvim/option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/option.c b/src/nvim/option.c
index 8e94c342f7..1ce737bc59 100644
--- a/src/nvim/option.c
+++ b/src/nvim/option.c
@@ -1276,6 +1276,7 @@ static void do_one_set_option(int opt_flags, char **argp, bool *did_show, char *
gotocmdline(true); // cursor at status line
*did_show = true; // remember that we did a line
}
+ msg_ext_set_kind("list_cmd");
showoneopt(&options[opt_idx], opt_flags);
if (p_verbose > 0) {
@@ -4048,6 +4049,7 @@ static void showoptions(bool all, int opt_flags)
vimoption_T **items = xmalloc(sizeof(vimoption_T *) * OPTION_COUNT);
+ msg_ext_set_kind("list_cmd");
// Highlight title
if (opt_flags & OPT_GLOBAL) {
msg_puts_title(_("\n--- Global option values ---"));