mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
updated for version 7.3.254
Problem: The coladd field is not reset when setting the line number for a ":call" command. Solution: Reset it.
This commit is contained in:
@@ -3430,6 +3430,9 @@ ex_call(eap)
|
|||||||
{
|
{
|
||||||
curwin->w_cursor.lnum = lnum;
|
curwin->w_cursor.lnum = lnum;
|
||||||
curwin->w_cursor.col = 0;
|
curwin->w_cursor.col = 0;
|
||||||
|
#ifdef FEAT_VIRTUALEDIT
|
||||||
|
curwin->w_cursor.coladd = 0;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
arg = startarg;
|
arg = startarg;
|
||||||
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
|
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
|
||||||
|
@@ -709,6 +709,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
254,
|
||||||
/**/
|
/**/
|
||||||
253,
|
253,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user