0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 9.1.0911: Variable name for 'messagesopt' doesn't match short name

Problem:  Variable name for 'messagesopt' doesn't match short name
          (after v9.1.0908)
Solution: Change p_meo to p_mopt.  Add more details to docs.
          (zeertzjq)

closes: #16182

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
zeertzjq
2024-12-07 16:09:08 +01:00
committed by Christian Brabandt
parent d9e9f89e0f
commit 8cc43daee1
8 changed files with 22 additions and 18 deletions

View File

@@ -3055,11 +3055,11 @@ did_set_messagesopt(optset_T *args UNUSED)
int
expand_set_messagesopt(optexpand_T *args, int *numMatches, char_u ***matches)
{
static char *(p_meo_values[]) = {"hit-enter", "wait:", "history:", NULL};
static char *(p_mopt_values[]) = {"hit-enter", "wait:", "history:", NULL};
return expand_set_opt_string(
args,
p_meo_values,
ARRAY_LENGTH(p_meo_values) - 1,
p_mopt_values,
ARRAY_LENGTH(p_mopt_values) - 1,
numMatches,
matches);
}