Patch 7.4.784
Problem:    Using both "noinsert" and "noselect" in 'completeopt' does not
            work properly.
Solution:   Change the ins_complete() calls. (Ozaki Kiichi)
Files:      src/edit.c


*** ../vim-7.4.783/src/edit.c   2015-07-10 18:18:35.575206298 +0200
--- src/edit.c  2015-07-17 13:36:48.597498614 +0200
***************
*** 2794,2809 ****
  
      compl_curr_match = compl_first_match;
      if (compl_no_insert)
!     {
!       if (!compl_no_select)
!           ins_complete(K_DOWN);
!     }
      else
-     {
        ins_complete(Ctrl_N);
!       if (compl_no_select)
!           ins_complete(Ctrl_P);
!     }
      out_flush();
  }
  
--- 2794,2804 ----
  
      compl_curr_match = compl_first_match;
      if (compl_no_insert)
!       ins_complete(K_DOWN);
      else
        ins_complete(Ctrl_N);
!     if (compl_no_select)
!       ins_complete(Ctrl_P);
      out_flush();
  }
  
*** ../vim-7.4.783/src/version.c        2015-07-17 13:22:43.161523633 +0200
--- src/version.c       2015-07-17 13:39:08.552170118 +0200
***************
*** 743,744 ****
--- 743,746 ----
  {   /* Add new patch number below this line */
+ /**/
+     784,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
230. You spend your Friday nights typing away at your keyboard

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui