patch 9.1.0862: 'wildmenu' not enabled by default in nocp mode
Problem: 'wildmenu' not enabled by default in nocp mode
Solution: promote the default Vim value to true, it has been enabled
in defaults.vim anyhow, so remove it there (Luca Saccarola)
closes: #16055
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 97fc4d4..585604f 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -2845,7 +2845,7 @@
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
{"wildmenu", "wmnu", P_BOOL|P_VI_DEF,
(char_u *)&p_wmnu, PV_NONE, NULL, NULL,
- {(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
+ {(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
{"wildmode", "wim", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_COLON,
(char_u *)&p_wim, PV_NONE, did_set_wildmode, expand_set_wildmode,
{(char_u *)"full", (char_u *)0L} SCTX_INIT},