3ef2ca
To: vim_dev@googlegroups.com
3ef2ca
Subject: Patch 7.4.121
3ef2ca
Fcc: outbox
3ef2ca
From: Bram Moolenaar <Bram@moolenaar.net>
3ef2ca
Mime-Version: 1.0
3ef2ca
Content-Type: text/plain; charset=UTF-8
3ef2ca
Content-Transfer-Encoding: 8bit
3ef2ca
------------
3ef2ca
3ef2ca
Patch 7.4.121
3ef2ca
Problem:    Completion doesn't work for ":py3d" and ":py3f". (Bohr Shaw)
3ef2ca
Solution:   Skip over letters after ":py3".
3ef2ca
Files:	    src/ex_docmd.c
3ef2ca
3ef2ca
3ef2ca
*** ../vim-7.4.120/src/ex_docmd.c	2013-11-21 14:21:25.000000000 +0100
3ef2ca
--- src/ex_docmd.c	2013-12-11 17:41:50.000000000 +0100
3ef2ca
***************
3ef2ca
*** 3261,3267 ****
3ef2ca
--- 3261,3271 ----
3ef2ca
  	    ++p;
3ef2ca
  	/* for python 3.x: ":py3*" commands completion */
3ef2ca
  	if (cmd[0] == 'p' && cmd[1] == 'y' && p == cmd + 2 && *p == '3')
3ef2ca
+ 	{
3ef2ca
  	    ++p;
3ef2ca
+ 	    while (ASCII_ISALPHA(*p) || *p == '*')
3ef2ca
+ 		++p;
3ef2ca
+ 	}
3ef2ca
  	len = (int)(p - cmd);
3ef2ca
  
3ef2ca
  	if (len == 0)
3ef2ca
*** ../vim-7.4.120/src/version.c	2013-12-11 17:20:14.000000000 +0100
3ef2ca
--- src/version.c	2013-12-11 17:43:44.000000000 +0100
3ef2ca
***************
3ef2ca
*** 740,741 ****
3ef2ca
--- 740,743 ----
3ef2ca
  {   /* Add new patch number below this line */
3ef2ca
+ /**/
3ef2ca
+     121,
3ef2ca
  /**/
3ef2ca
3ef2ca
-- 
3ef2ca
It was recently discovered that research causes cancer in rats.
3ef2ca
3ef2ca
 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
3ef2ca
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
3ef2ca
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
3ef2ca
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///