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)
diff --git a/src/search.c b/src/search.c
index 850fd06..7d57e85 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5479,7 +5479,7 @@
#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 @@
)
{
#ifdef FEAT_INS_EXPAND
- if (got_int || compl_interrupted)
+ if (got_int || ins_compl_interrupted())
#else
if (got_int)
#endif