summaryrefslogtreecommitdiff
path: root/src/search.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-10-15 17:06:47 +0200
committerBram Moolenaar <Bram@vim.org>2016-10-15 17:06:47 +0200
commit472e85970ee3a80abd824bef510df12e9cfe9e96 (patch)
tree27fae571dfc2e3bf1c7a6b4dfbc59bc5b13356b8 /src/search.c
parent9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8 (diff)
downloadvim-git-472e85970ee3a80abd824bef510df12e9cfe9e96.tar.gz
patch 8.0.0035v8.0.0035
Problem: Order of matches for 'omnifunc' is messed up. (Danny Su) Solution: Do not set compl_curr_match when called from complete_check(). (closes #1168)
Diffstat (limited to 'src/search.c')
-rw-r--r--src/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/search.c b/src/search.c
index cb5caeb6d..cedcad9eb 100644
--- a/src/search.c
+++ b/src/search.c
@@ -5429,7 +5429,7 @@ exit_matched:
line_breakcheck();
#ifdef FEAT_INS_EXPAND
if (action == ACTION_EXPAND)
- ins_compl_check_keys(30);
+ ins_compl_check_keys(30, FALSE);
if (got_int || compl_interrupted)
#else
if (got_int)