Problem: Using both "noinsert" and "noselect" in 'completeopt' does not
work properly.
Solution: Change the ins_complete() calls. (Ozaki Kiichi)
compl_curr_match = compl_first_match;
if (compl_no_insert)
- {
- if (!compl_no_select)
- ins_complete(K_DOWN);
- }
+ ins_complete(K_DOWN);
else
- {
ins_complete(Ctrl_N);
- if (compl_no_select)
- ins_complete(Ctrl_P);
- }
+ if (compl_no_select)
+ ins_complete(Ctrl_P);
out_flush();
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 784,
/**/
783,
/**/