summaryrefslogtreecommitdiff
path: root/src/spell.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-03-30 13:53:47 +0100
committerBram Moolenaar <Bram@vim.org>2019-03-30 13:53:47 +0100
commit7591bb39d58ece38a5fef984a08ea9012616c1f9 (patch)
treee5e5b82ffd29f4f922ebfb5a97ea12a8b3624b7c /src/spell.c
parentde5b3800427328170574f1950ae75776e020f4e7 (diff)
downloadvim-git-7591bb39d58ece38a5fef984a08ea9012616c1f9.tar.gz
patch 8.1.1076: file for Insert mode is much too bigv8.1.1076
Problem: File for Insert mode is much too big. Solution: Split off the code for Insert completion. (Yegappan Lakshmanan, closes #4044)
Diffstat (limited to 'src/spell.c')
-rw-r--r--src/spell.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/spell.c b/src/spell.c
index 8aadb9953..a778896b4 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -8473,7 +8473,7 @@ spell_dump_compl(
arridx[0] = 0;
curi[0] = 1;
while (depth >= 0 && !got_int
- && (pat == NULL || !compl_interrupted))
+ && (pat == NULL || !ins_compl_interrupted()))
{
if (curi[depth] > byts[arridx[depth]])
{