diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-07-20 06:33:55 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-20 06:33:55 +0800 |
| commit | 1ef84547a8ed4b237fbfbe673f1e9c4cd863ff0b (patch) | |
| tree | ce6987a5e351d2c4d529edfe1466d291efc75fe2 /src/nvim/spell.c | |
| parent | 8620dfc5bdedc26e24119eb016d7e6121e9b49b6 (diff) | |
| parent | 420bb2eb8a583391c38a1e6d60132a70de21d99e (diff) | |
| download | rneovim-1ef84547a8ed4b237fbfbe673f1e9c4cd863ff0b.tar.gz rneovim-1ef84547a8ed4b237fbfbe673f1e9c4cd863ff0b.tar.bz2 rneovim-1ef84547a8ed4b237fbfbe673f1e9c4cd863ff0b.zip | |
Merge pull request #19415 from zeertzjq/vim-8.1.1076
vim-patch:8.1.{1076,1849}: file for Insert mode is much too big
Diffstat (limited to 'src/nvim/spell.c')
| -rw-r--r-- | src/nvim/spell.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 2aadc2258e..8bc9cda247 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -95,6 +95,7 @@ #include "nvim/getchar.h" #include "nvim/hashtab.h" #include "nvim/input.h" +#include "nvim/insexpand.h" #include "nvim/mark.h" #include "nvim/mbyte.h" #include "nvim/memline.h" @@ -7012,7 +7013,7 @@ void spell_dump_compl(char_u *pat, int ic, Direction *dir, int dumpflags_arg) 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]]) { // Done all bytes at this node, go up one level. --depth; |
