Commits

Anonymous committed 44ffd0a

updated for version 7.3.289
Problem: Complete function isn't called when the leader changed.
Solution: Call ins_compl_restart() when the leader changed. (Taro Muraoka)

  • Participants
  • Parent commits 614468f
  • Tags v7-3-289

Comments (0)

Files changed (2)

     ins_bytes(compl_leader + ins_compl_len());
     compl_used_match = FALSE;
 
+#ifdef FEAT_COMPL_FUNC
+    /*
+     * To call eval 'completefunc' when leader is changed, restart completion
+     * every time.
+     */
+    if (ctrl_x_mode == CTRL_X_FUNCTION || ctrl_x_mode == CTRL_X_OMNI)
+        ins_compl_restart();
+#endif
+
     if (compl_started)
 	ins_compl_set_original_text(compl_leader);
     else

File src/version.c

 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    289,
+/**/
     288,
 /**/
     287,