mirror of
https://github.com/neovim/neovim.git
synced 2025-10-07 02:16:31 +00:00
vim-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.
bc0e9adae9
This commit is contained in:
@@ -352,7 +352,7 @@ int ignorecase_opt(char_u *pat, int ic_in, int scs)
|
||||
{
|
||||
int ic = ic_in;
|
||||
if (ic && !no_smartcase && scs
|
||||
&& !(ctrl_x_mode && curbuf->b_p_inf)
|
||||
&& !(ctrl_x_mode_not_default() && curbuf->b_p_inf)
|
||||
) {
|
||||
ic = !pat_has_uppercase(pat);
|
||||
}
|
||||
|
Reference in New Issue
Block a user