mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.0908: not possible to configure :messages
Problem: not possible to configure :messages Solution: add the 'messagesopt' option (Shougo Matsushita) closes: #16068 Co-authored-by: h_east <h.east.727@gmail.com> Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1695,6 +1695,9 @@ static struct vimoption options[] =
|
||||
{"mesg", NULL, P_BOOL|P_VI_DEF,
|
||||
(char_u *)NULL, PV_NONE, NULL, NULL,
|
||||
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
|
||||
{"messagesopt","mopt", P_STRING|P_ALLOCED|P_VI_DEF|P_ONECOMMA|P_COLON|P_NODUP,
|
||||
(char_u *)&p_meo, PV_NONE, did_set_messagesopt, expand_set_messagesopt,
|
||||
{(char_u *)"hit-enter,history:500", (char_u *)NULL} SCTX_INIT},
|
||||
{"mkspellmem", "msm", P_STRING|P_VI_DEF|P_EXPAND|P_SECURE,
|
||||
#ifdef FEAT_SPELL
|
||||
(char_u *)&p_msm, PV_NONE, did_set_mkspellmem, NULL,
|
||||
@ -1778,9 +1781,6 @@ static struct vimoption options[] =
|
||||
{"mousetime", "mouset", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_mouset, PV_NONE, NULL, NULL,
|
||||
{(char_u *)500L, (char_u *)0L} SCTX_INIT},
|
||||
{"msghistory","mhi", P_NUM|P_VI_DEF,
|
||||
(char_u *)&p_mhi, PV_NONE, did_set_msghistory, NULL,
|
||||
{(char_u *)500L, (char_u *)0L} SCTX_INIT},
|
||||
{"mzquantum", "mzq", P_NUM,
|
||||
#ifdef FEAT_MZSCHEME
|
||||
(char_u *)&p_mzq, PV_NONE, did_set_mzquantum, NULL,
|
||||
|
Reference in New Issue
Block a user