vim-patch:8.1.1076: file for Insert mode is much too big

Problem:    File for Insert mode is much too big.
Solution:   Split off the code for Insert completion. (Yegappan Lakshmanan,
            closes vim/vim#4044)
7591bb39d5

Cherry-pick ins_compl_len() -> get_compl_len() from patch 8.2.4001.

Revert a71c5e9eb9: ctrl_x_mode is no
longer a global variable, so l_ctrl_x_mode is no longer needed.
This commit is contained in:
zeertzjq
2022-07-18 08:54:53 +08:00
parent 8620dfc5bd
commit f357c9bca5
20 changed files with 3909 additions and 3783 deletions

View File

@@ -163,10 +163,6 @@ EXTERN colnr_T dollar_vcol INIT(= -1);
// by the match.)
EXTERN int compl_length INIT(= 0);
// Set when character typed while looking for matches and it means we should
// stop looking for matches.
EXTERN int compl_interrupted INIT(= false);
// Set when doing something for completion that may call edit() recursively,
// which is not allowed. Also used to disable folding during completion
EXTERN bool compl_busy INIT(= false);