diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-18 22:26:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-18 22:26:31 +0200 |
commit | 0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a (patch) | |
tree | 9860863c20df3f5354bf67a1d7efe054e23e8a99 /src/menu.c | |
parent | 66b51420e0c8d49bcf6786b792c938d6099e3393 (diff) | |
download | vim-git-0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a.tar.gz |
patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
Diffstat (limited to 'src/menu.c')
-rw-r--r-- | src/menu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/menu.c b/src/menu.c index 5cdf50144..29f58c7c9 100644 --- a/src/menu.c +++ b/src/menu.c @@ -43,9 +43,7 @@ static int s_tearoffs = FALSE; #endif static int menu_is_hidden(char_u *name); -#if defined(FEAT_CMDL_COMPL) || (defined(FEAT_GUI_MSWIN) && defined(FEAT_TEAROFF)) static int menu_is_tearoff(char_u *name); -#endif #if defined(FEAT_MULTI_LANG) || defined(FEAT_TOOLBAR) static char_u *menu_skip_part(char_u *p); @@ -1234,8 +1232,6 @@ show_menus_recursive(vimmenu_T *menu, int modes, int depth) } } -#ifdef FEAT_CMDL_COMPL - /* * Used when expanding menu names. */ @@ -1555,7 +1551,6 @@ get_menu_names(expand_T *xp UNUSED, int idx) return str; } -#endif /* FEAT_CMDL_COMPL */ /* * Skip over this element of the menu path and return the start of the next @@ -1864,8 +1859,6 @@ menu_is_hidden(char_u *name) return (name[0] == ']') || (menu_is_popup(name) && name[5] != NUL); } -#if defined(FEAT_CMDL_COMPL) \ - || (defined(FEAT_GUI_MSWIN) && defined(FEAT_TEAROFF)) /* * Return TRUE if the menu is the tearoff menu. */ @@ -1878,7 +1871,6 @@ menu_is_tearoff(char_u *name UNUSED) return FALSE; #endif } -#endif #if defined(FEAT_GUI) || defined(FEAT_TERM_POPUP_MENU) || defined(PROTO) |