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/search.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/search.c')
| -rw-r--r-- | src/nvim/search.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index f3061b4dc4..e1a5d0214e 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -27,6 +27,7 @@ #include "nvim/getchar.h" #include "nvim/indent.h" #include "nvim/indent_c.h" +#include "nvim/insexpand.h" #include "nvim/main.h" #include "nvim/mark.h" #include "nvim/mbyte.h" @@ -5849,7 +5850,7 @@ exit_matched: if (action == ACTION_EXPAND) { ins_compl_check_keys(30, false); } - if (got_int || compl_interrupted) { + if (got_int || ins_compl_interrupted()) { break; } @@ -5911,7 +5912,7 @@ exit_matched: } } else if (!found && action != ACTION_EXPAND) { - if (got_int || compl_interrupted) { + if (got_int || ins_compl_interrupted()) { emsg(_(e_interr)); } else if (type == FIND_DEFINE) { emsg(_("E388: Couldn't find definition")); |
