From 472e85970ee3a80abd824bef510df12e9cfe9e96 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 15 Oct 2016 17:06:47 +0200 Subject: 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) --- src/search.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/search.c') 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) -- cgit v1.2.1