patch 9.1.0895: default history value is too small
Problem: default history value is too small
Solution: promote the change from defaults.vim back to
the C core, so increase the default 'history' option value
from 50 to 200 (Lucca Saccarola)
closes: #16129
Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 5df5fb7..ca085d4 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -1305,7 +1305,7 @@
SCTX_INIT},
{"history", "hi", P_NUM|P_VIM,
(char_u *)&p_hi, PV_NONE, NULL, NULL,
- {(char_u *)0L, (char_u *)50L} SCTX_INIT},
+ {(char_u *)0L, (char_u *)200L} SCTX_INIT},
{"hkmap", "hk", P_BOOL|P_VI_DEF|P_VIM,
#ifdef FEAT_RIGHTLEFT
(char_u *)&p_hkmap, PV_NONE, NULL, NULL,