diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-15 17:06:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-15 17:06:47 +0200 |
commit | 472e85970ee3a80abd824bef510df12e9cfe9e96 (patch) | |
tree | 27fae571dfc2e3bf1c7a6b4dfbc59bc5b13356b8 /src/search.c | |
parent | 9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8 (diff) | |
download | vim-472e85970ee3a80abd824bef510df12e9cfe9e96.zip |
patch 8.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.c | 2 |
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) |