diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-08-26 16:58:51 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-08-26 16:58:51 +0100 |
commit | 5416232707349d5f24294178f47544f2024b73ed (patch) | |
tree | ffd1dfb8b7cef3e448a4b6d08644fce7d45931ab /src/evalfunc.c | |
parent | 074fbd413172edc6f4936296a28bf8fd5cdfa38b (diff) | |
download | vim-git-5416232707349d5f24294178f47544f2024b73ed.tar.gz |
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'v9.0.0279
Problem: The tiny version has the popup menu but not 'wildmenu'.
Solution: Graduate the wildmenu feature.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index a41e6758a..230ea0d8e 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -6261,13 +6261,7 @@ f_has(typval_T *argvars, typval_T *rettv) #endif }, {"wildignore", 1}, - {"wildmenu", -#ifdef FEAT_WILDMENU - 1 -#else - 0 -#endif - }, + {"wildmenu", 1}, {"windows", 1}, {"winaltkeys", #ifdef FEAT_WAK @@ -10600,10 +10594,8 @@ f_visualmode(typval_T *argvars, typval_T *rettv) static void f_wildmenumode(typval_T *argvars UNUSED, typval_T *rettv UNUSED) { -#ifdef FEAT_WILDMENU if (wild_menu_showing || ((State & MODE_CMDLINE) && cmdline_pum_active())) rettv->vval.v_number = 1; -#endif } /* |