Mercurial > vim
changeset 15575:6effd97a0429 v8.1.0795
patch 8.1.0795: cannot build without popup menu
commit https://github.com/vim/vim/commit/f88af6e6757b2e373cf6cd366d6a81a066a6ade0
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 22 22:55:00 2019 +0100
patch 8.1.0795: cannot build without popup menu
Problem: Cannot build without popup menu.
Solution: Add #ifdef
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Jan 2019 23:00:05 +0100 |
parents | a34813688b82 |
children | 5d765761b75c |
files | src/ex_getln.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -7268,9 +7268,11 @@ open_cmdwin(void) /* Don't execute autocommands while creating the window. */ block_autocmds(); +#if defined(FEAT_INS_EXPAND) // When using completion in Insert mode with <C-R>=<C-F> one can open the // command line window, but we don't want the popup menu then. pum_undisplay(); +#endif /* don't use a new tab page */ cmdmod.tab = 0;