diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-09 12:13:34 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-09 12:13:34 +0100 |
commit | bc0e9adae9c253f36803665180e4b576d1e725ab (patch) | |
tree | 858a1a7156699a6b2e14e51feb4bf8b296d4a865 /src/search.c | |
parent | dff72ba4459f54cac2ce40eea3d92097660c7b9f (diff) | |
download | vim-git-bc0e9adae9c253f36803665180e4b576d1e725ab.tar.gz |
patch 8.0.1479: insert mode completion state is confusingv8.0.1479
Problem: Insert mode completion state is confusing.
Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
Diffstat (limited to 'src/search.c')
-rw-r--r-- | src/search.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c index 0aebea4f9..42351d5e6 100644 --- a/src/search.c +++ b/src/search.c @@ -421,7 +421,7 @@ ignorecase_opt(char_u *pat, int ic_in, int scs) if (ic && !no_smartcase && scs #ifdef FEAT_INS_EXPAND - && !(ctrl_x_mode && curbuf->b_p_inf) + && !(ctrl_x_mode_not_default() && curbuf->b_p_inf) #endif ) ic = !pat_has_uppercase(pat); |