jkunstle / rpms / vim

Forked from rpms/vim 3 years ago
Clone

Blame SOURCES/7.4.121

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