forked from aniani/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 #4044)
This commit is contained in:
@@ -5479,7 +5479,7 @@ exit_matched:
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
if (action == ACTION_EXPAND)
|
||||
ins_compl_check_keys(30, FALSE);
|
||||
if (got_int || compl_interrupted)
|
||||
if (got_int || ins_compl_interrupted())
|
||||
#else
|
||||
if (got_int)
|
||||
#endif
|
||||
@@ -5550,7 +5550,7 @@ exit_matched:
|
||||
)
|
||||
{
|
||||
#ifdef FEAT_INS_EXPAND
|
||||
if (got_int || compl_interrupted)
|
||||
if (got_int || ins_compl_interrupted())
|
||||
#else
|
||||
if (got_int)
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user