Mercurial > vim
comparison src/ex_getln.c @ 17809:59f8948b7590 v8.1.1901
patch 8.1.1901: the +insert_expand feature is not always available
Commit: https://github.com/vim/vim/commit/e2c453d38f6512ac4cff7cd26aa7780b4e2534d7
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 21 14:37:09 2019 +0200
patch 8.1.1901: the +insert_expand feature is not always available
Problem: The +insert_expand feature is not always available.
Solution: Graduate the +insert_expand feature.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Aug 2019 14:45:04 +0200 |
parents | 04245f071792 |
children | 4d63d47d87ef |
comparison
equal
deleted
inserted
replaced
17808:42561b61bfd8 | 17809:59f8948b7590 |
---|---|
4038 win_size_save(&winsizes); | 4038 win_size_save(&winsizes); |
4039 | 4039 |
4040 /* Don't execute autocommands while creating the window. */ | 4040 /* Don't execute autocommands while creating the window. */ |
4041 block_autocmds(); | 4041 block_autocmds(); |
4042 | 4042 |
4043 #if defined(FEAT_INS_EXPAND) | |
4044 // When using completion in Insert mode with <C-R>=<C-F> one can open the | 4043 // When using completion in Insert mode with <C-R>=<C-F> one can open the |
4045 // command line window, but we don't want the popup menu then. | 4044 // command line window, but we don't want the popup menu then. |
4046 pum_undisplay(); | 4045 pum_undisplay(); |
4047 #endif | |
4048 | 4046 |
4049 /* don't use a new tab page */ | 4047 /* don't use a new tab page */ |
4050 cmdmod.tab = 0; | 4048 cmdmod.tab = 0; |
4051 cmdmod.noswapfile = 1; | 4049 cmdmod.noswapfile = 1; |
4052 | 4050 |