diff src/search.c @ 13210:c1534eb682a6 v8.0.1479

patch 8.0.1479: insert mode completion state is confusing commit https://github.com/vim/vim/commit/bc0e9adae9c253f36803665180e4b576d1e725ab Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 9 12:13:34 2018 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Fri, 09 Feb 2018 12:15:05 +0100
parents 808625d4b71b
children 891b821d3602
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -421,7 +421,7 @@ ignorecase_opt(char_u *pat, int ic_in, i
 
     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);