Skip to content

Commit 437bc13

Browse files
saccarosiumchrisbra
authored andcommitted
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>
1 parent 8b97ca6 commit 437bc13

4 files changed

Lines changed: 6 additions & 5 deletions

File tree

runtime/defaults.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
" The default vimrc file.
22
"
33
" Maintainer: The Vim Project <https://github.com/vim/vim>
4-
" Last Change: 2024 Nov 09
4+
" Last Change: 2024 Nov 14
55
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
66
"
77
" This is loaded if no vimrc file was found.
@@ -39,7 +39,6 @@ set backspace=indent,eol,start
3939
set history=200 " keep 200 lines of command line history
4040
set ruler " show the cursor position all the time
4141
set showcmd " display incomplete commands
42-
set wildmenu " display completion matches in a status line
4342

4443
set ttimeout " time out for key codes
4544
set ttimeoutlen=100 " wait up to 100ms after Esc for special key

runtime/doc/options.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 9.1. Last change: 2024 Nov 06
1+
*options.txt* For Vim version 9.1. Last change: 2024 Nov 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -9430,7 +9430,7 @@ A jump table for the options with a short description can be found at |Q_op|.
94309430
happens when there are special characters.
94319431

94329432
*'wildmenu'* *'wmnu'* *'nowildmenu'* *'nowmnu'*
9433-
'wildmenu' 'wmnu' boolean (default off, set in |defaults.vim|)
9433+
'wildmenu' 'wmnu' boolean (default on)
94349434
global
94359435
When 'wildmenu' is on, command-line completion operates in an enhanced
94369436
mode. On pressing 'wildchar' (usually <Tab>) to invoke completion,

src/optiondefs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2845,7 +2845,7 @@ static struct vimoption options[] =
28452845
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
28462846
{"wildmenu", "wmnu", P_BOOL|P_VI_DEF,
28472847
(char_u *)&p_wmnu, PV_NONE, NULL, NULL,
2848-
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
2848+
{(char_u *)TRUE, (char_u *)0L} SCTX_INIT},
28492849
{"wildmode", "wim", P_STRING|P_VI_DEF|P_ONECOMMA|P_NODUP|P_COLON,
28502850
(char_u *)&p_wim, PV_NONE, did_set_wildmode, expand_set_wildmode,
28512851
{(char_u *)"full", (char_u *)0L} SCTX_INIT},

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
862,
707709
/**/
708710
861,
709711
/**/

0 commit comments

Comments
 (0)