vim-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.

closes: vim/vim#16182

8cc43daee1
This commit is contained in:
zeertzjq
2024-12-08 07:01:59 +08:00
parent f3fa6507f2
commit 96329910b0
7 changed files with 37 additions and 31 deletions

View File

@@ -5456,22 +5456,24 @@ return {
flags = true,
deny_duplicates = true,
desc = [=[
Option settings when outputting messages. It can consist of the
Option settings for outputting messages. It can consist of the
following items. Items must be separated by a comma.
hit-enter Use |hit-enter| prompt when the message is longer than
hit-enter Use a |hit-enter| prompt when the message is longer than
'cmdheight' size.
wait:{n} Ignored when "hit-enter" is present. Instead of using
|hit-enter| prompt, will simply wait for {n}
milliseconds so the user has a chance to read the
message, use 0 to disable sleep (but then the user may
miss an important message).
The maximum value is 10000.
wait:{n} Instead of using a |hit-enter| prompt, simply wait for
{n} milliseconds so that the user has a chance to read
the message. The maximum value of {n} is 10000. Use
0 to disable the wait (but then the user may miss an
important message).
This item is ignored when "hit-enter" is present, but
required when "hit-enter" is not present.
history:{n} Determines how many entries are remembered in the
|:messages| history. The maximum value is 10000.
Setting it to zero clears the message history.
This item must always be present.
]=],
expand_cb = 'expand_set_messagesopt',
full_name = 'messagesopt',
@@ -5479,7 +5481,7 @@ return {
scope = { 'global' },
short_desc = N_('options for outputting messages'),
type = 'string',
varname = 'p_meo',
varname = 'p_mopt',
},
{
abbreviation = 'msm',