Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
13209:f3e7d314d8d8 | 13210:c1534eb682a6 |
---|---|
419 { | 419 { |
420 int ic = ic_in; | 420 int ic = ic_in; |
421 | 421 |
422 if (ic && !no_smartcase && scs | 422 if (ic && !no_smartcase && scs |
423 #ifdef FEAT_INS_EXPAND | 423 #ifdef FEAT_INS_EXPAND |
424 && !(ctrl_x_mode && curbuf->b_p_inf) | 424 && !(ctrl_x_mode_not_default() && curbuf->b_p_inf) |
425 #endif | 425 #endif |
426 ) | 426 ) |
427 ic = !pat_has_uppercase(pat); | 427 ic = !pat_has_uppercase(pat); |
428 no_smartcase = FALSE; | 428 no_smartcase = FALSE; |
429 | 429 |