aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-03-08 13:21:11 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-03-08 13:21:11 +0100
commit4352d41db0d93ab9266c64be48eda872cb5ea589 (patch)
treea10aa3db77c6db9c7c809200569a9bdd15119f92 /src/nvim/edit.c
parent0355c1ed9c481d4ad3bf24887e0af869834e1b40 (diff)
parent96e2c3945f13453070894c70c74e4da29d421dab (diff)
downloadrneovim-4352d41db0d93ab9266c64be48eda872cb5ea589.tar.gz
rneovim-4352d41db0d93ab9266c64be48eda872cb5ea589.tar.bz2
rneovim-4352d41db0d93ab9266c64be48eda872cb5ea589.zip
Merge #9662 'vim-patch:8.0.{0643-0646}'
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index 6b31406b0c..667bc54e2e 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -3907,10 +3907,11 @@ static int ins_compl_get_exp(pos_T *ini)
compl_direction, compl_pattern);
} else
found_new_match = searchit(NULL, ins_buf, pos,
- compl_direction,
- compl_pattern, 1L, SEARCH_KEEP + SEARCH_NFMSG,
- RE_LAST, (linenr_T)0, NULL);
- --msg_silent;
+ compl_direction,
+ compl_pattern, 1L,
+ SEARCH_KEEP + SEARCH_NFMSG,
+ RE_LAST, (linenr_T)0, NULL, NULL);
+ msg_silent--;
if (!compl_started || set_match_pos) {
/* set "compl_started" even on fail */
compl_started = TRUE;