diff src/search.c @ 16142:570a296aa0b4 v8.1.1076

patch 8.1.1076: file for Insert mode is much too big commit https://github.com/vim/vim/commit/7591bb39d58ece38a5fef984a08ea9012616c1f9 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 30 13:53:47 2019 +0100 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Mar 2019 14:00:07 +0100
parents ced614446eaa
children 5df26b29e809
line wrap: on
line diff
--- a/src/search.c
+++ b/src/search.c
@@ -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