Karsten Hopp 6bfd4f
To: vim_dev@googlegroups.com
Karsten Hopp 6bfd4f
Subject: Patch 7.3.1102
Karsten Hopp 6bfd4f
Fcc: outbox
Karsten Hopp 6bfd4f
From: Bram Moolenaar <Bram@moolenaar.net>
Karsten Hopp 6bfd4f
Mime-Version: 1.0
Karsten Hopp 6bfd4f
Content-Type: text/plain; charset=UTF-8
Karsten Hopp 6bfd4f
Content-Transfer-Encoding: 8bit
Karsten Hopp 6bfd4f
------------
Karsten Hopp 6bfd4f
Karsten Hopp 6bfd4f
Patch 7.3.1102
Karsten Hopp 6bfd4f
Problem:    Completion of ":py3do" and ":py3file" does not work after ":py3".
Karsten Hopp 6bfd4f
Solution:   Make completion work. (Taro Muraoka)
Karsten Hopp 6bfd4f
Files:	    src/ex_docmd.c
Karsten Hopp 6bfd4f
Karsten Hopp 6bfd4f
Karsten Hopp 6bfd4f
*** ../vim-7.3.1101/src/ex_docmd.c	2013-06-02 18:20:12.000000000 +0200
Karsten Hopp 6bfd4f
--- src/ex_docmd.c	2013-06-02 19:18:08.000000000 +0200
Karsten Hopp 6bfd4f
***************
Karsten Hopp 6bfd4f
*** 3249,3254 ****
Karsten Hopp 6bfd4f
--- 3249,3257 ----
Karsten Hopp 6bfd4f
  	/* check for non-alpha command */
Karsten Hopp 6bfd4f
  	if (p == cmd && vim_strchr((char_u *)"@*!=><&~#", *p) != NULL)
Karsten Hopp 6bfd4f
  	    ++p;
Karsten Hopp 6bfd4f
+ 	/* for python 3.x: ":py3*" commands completion */
Karsten Hopp 6bfd4f
+ 	if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
Karsten Hopp 6bfd4f
+ 	    ++p;
Karsten Hopp 6bfd4f
  	len = (int)(p - cmd);
Karsten Hopp 6bfd4f
  
Karsten Hopp 6bfd4f
  	if (len == 0)
Karsten Hopp 6bfd4f
*** ../vim-7.3.1101/src/version.c	2013-06-02 19:14:11.000000000 +0200
Karsten Hopp 6bfd4f
--- src/version.c	2013-06-02 19:16:56.000000000 +0200
Karsten Hopp 6bfd4f
***************
Karsten Hopp 6bfd4f
*** 730,731 ****
Karsten Hopp 6bfd4f
--- 730,733 ----
Karsten Hopp 6bfd4f
  {   /* Add new patch number below this line */
Karsten Hopp 6bfd4f
+ /**/
Karsten Hopp 6bfd4f
+     1102,
Karsten Hopp 6bfd4f
  /**/
Karsten Hopp 6bfd4f
Karsten Hopp 6bfd4f
-- 
Karsten Hopp 6bfd4f
CVS sux, men don't like commitment
Karsten Hopp 6bfd4f
Karsten Hopp 6bfd4f
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
Karsten Hopp 6bfd4f
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
Karsten Hopp 6bfd4f
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
Karsten Hopp 6bfd4f
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///