commit | 32b808a4bdf35b0dea63c735702a591e5869fecd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 21:57:20 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jul 09 21:57:20 2016 +0200 |
tree | a7e02f6424d3fd4d9dfab6318cddcc46ace41e05 | |
parent | 67081e50616ae9546621072c5eaaa59bd0a4bed7 [diff] [blame] |
patch 7.4.2014 Problem: Using "noinsert" in 'completeopt' does not insert match. Solution: Set compl_enter_selects. (Shougo, closes #875)
diff --git a/src/edit.c b/src/edit.c index 47c24f9..4bce8a3 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -2831,6 +2831,7 @@ } else ins_complete(Ctrl_N, FALSE); + compl_enter_selects = compl_no_insert; /* Lazily show the popup menu, unless we got interrupted. */ if (!compl_interrupted)