mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
updated for version 7.2-324
This commit is contained in:
@@ -15542,7 +15542,8 @@ f_setpos(argvars, rettv)
|
|||||||
{
|
{
|
||||||
if (list2fpos(&argvars[1], &pos, &fnum) == OK)
|
if (list2fpos(&argvars[1], &pos, &fnum) == OK)
|
||||||
{
|
{
|
||||||
--pos.col;
|
if (--pos.col < 0)
|
||||||
|
pos.col = 0;
|
||||||
if (name[0] == '.' && name[1] == NUL)
|
if (name[0] == '.' && name[1] == NUL)
|
||||||
{
|
{
|
||||||
/* set cursor */
|
/* set cursor */
|
||||||
|
@@ -528,6 +528,8 @@ check_cursor_col()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (curwin->w_cursor.col < 0)
|
||||||
|
curwin->w_cursor.col = 0;
|
||||||
|
|
||||||
#ifdef FEAT_VIRTUALEDIT
|
#ifdef FEAT_VIRTUALEDIT
|
||||||
/* If virtual editing is on, we can leave the cursor on the old position,
|
/* If virtual editing is on, we can leave the cursor on the old position,
|
||||||
|
@@ -681,6 +681,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 */
|
||||||
|
/**/
|
||||||
|
324,
|
||||||
/**/
|
/**/
|
||||||
323,
|
323,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user