forked from aniani/vim
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.col = 0;
|
||||
#ifdef FEAT_VIRTUALEDIT
|
||||
curwin->w_cursor.coladd = 0;
|
||||
#endif
|
||||
}
|
||||
arg = startarg;
|
||||
if (get_func_tv(name, (int)STRLEN(name), &rettv, &arg,
|
||||
|
||||
Reference in New Issue
Block a user