patch 9.1.0883: message history cleanup is missing some tests
Problem: message history cleanup is missing some tests
Solution: Add tests, refactor common code into did_set_msghistory()
(Shougo Matsushita)
closes: #16078
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Milly <milly.ca@gmail.com>
Signed-off-by: Shougo Matsushita <Shougo.Matsu@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
a01148d2cb
commit
9f860a14c3
@ -1779,7 +1779,7 @@ static struct vimoption options[] =
|
||||
(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, NULL, NULL,
|
||||
(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
|
||||
|
||||
Reference in New Issue
Block a user