commit | bc0e9adae9c253f36803665180e4b576d1e725ab | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Feb 09 12:13:34 2018 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Feb 09 12:13:34 2018 +0100 |
tree | 858a1a7156699a6b2e14e51feb4bf8b296d4a865 | |
parent | dff72ba4459f54cac2ce40eea3d92097660c7b9f [diff] [blame] |
patch 8.0.1479: insert mode completion state is confusing Problem: Insert mode completion state is confusing. Solution: Move ctrl_x_mode into edit.c. Add CTRL_X_NORMAL for zero.
diff --git a/src/search.c b/src/search.c index 0aebea4..42351d5 100644 --- a/src/search.c +++ b/src/search.c
@@ -421,7 +421,7 @@ 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);