From 32b808a4bdf35b0dea63c735702a591e5869fecd Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 9 Jul 2016 21:57:20 +0200 Subject: patch 7.4.2014 Problem: Using "noinsert" in 'completeopt' does not insert match. Solution: Set compl_enter_selects. (Shougo, closes #875) --- src/edit.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index 47c24f9d2..4bce8a30c 100644 --- a/src/edit.c +++ b/src/edit.c @@ -2831,6 +2831,7 @@ set_completion(colnr_T startcol, list_T *list) } else ins_complete(Ctrl_N, FALSE); + compl_enter_selects = compl_no_insert; /* Lazily show the popup menu, unless we got interrupted. */ if (!compl_interrupted) -- cgit v1.2.1