patch 7.4.2013
Problem:    Using "noinsert" in 'completeopt' breaks redo.
Solution:   Set compl_curr_match. (Shougo, closes #874)
diff --git a/src/edit.c b/src/edit.c
index 234e03d..47c24f9 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -4680,6 +4680,7 @@
 		    EMPTY_IF_NULL(compl_shown_match->cp_text[CPT_INFO]));
     }
     set_vim_var_dict(VV_COMPLETED_ITEM, dict);
+    compl_curr_match = compl_shown_match;
 }
 
 /*