mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 7.4.2014
Problem: Using "noinsert" in 'completeopt' does not insert match. Solution: Set compl_enter_selects. (Shougo, closes #875)
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user