home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 7.3 / 7.3.1102 < prev    next >
Encoding:
Internet Message Format  |  2013-06-01  |  1.4 KB

  1. To: vim_dev@googlegroups.com
  2. Subject: Patch 7.3.1102
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 7.3.1102
  11. Problem:    Completion of ":py3do" and ":py3file" does not work after ":py3".
  12. Solution:   Make completion work. (Taro Muraoka)
  13. Files:        src/ex_docmd.c
  14.  
  15.  
  16. *** ../vim-7.3.1101/src/ex_docmd.c    2013-06-02 18:20:12.000000000 +0200
  17. --- src/ex_docmd.c    2013-06-02 19:18:08.000000000 +0200
  18. ***************
  19. *** 3249,3254 ****
  20. --- 3249,3257 ----
  21.       /* check for non-alpha command */
  22.       if (p == cmd && vim_strchr((char_u *)"@*!=><&~#", *p) != NULL)
  23.           ++p;
  24. +     /* for python 3.x: ":py3*" commands completion */
  25. +     if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
  26. +         ++p;
  27.       len = (int)(p - cmd);
  28.   
  29.       if (len == 0)
  30. *** ../vim-7.3.1101/src/version.c    2013-06-02 19:14:11.000000000 +0200
  31. --- src/version.c    2013-06-02 19:16:56.000000000 +0200
  32. ***************
  33. *** 730,731 ****
  34. --- 730,733 ----
  35.   {   /* Add new patch number below this line */
  36. + /**/
  37. +     1102,
  38.   /**/
  39.  
  40. -- 
  41. CVS sux, men don't like commitment
  42.  
  43.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  44. ///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  45. \\\  an exciting new programming language -- http://www.Zimbu.org        ///
  46.  \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///
  47.