commit | 472e85970ee3a80abd824bef510df12e9cfe9e96 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Oct 15 17:06:47 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Oct 15 17:06:47 2016 +0200 |
tree | 27fae571dfc2e3bf1c7a6b4dfbc59bc5b13356b8 | |
parent | 9e507ca8a3e1535e62de4bd86374b0fcd18ef5b8 [diff] [blame] |
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)
diff --git a/src/search.c b/src/search.c index cb5caeb..cedcad9 100644 --- a/src/search.c +++ b/src/search.c
@@ -5429,7 +5429,7 @@ 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)