forked from aniani/vim
updated for version 7.2.329
Problem: "g_" doesn't position cursor correctly when in Visual mode and 'selection' is "exclusive". (Ben Fritz) Solution: Call adjust_for_sel().
This commit is contained in:
parent
e37d79928d
commit
5890b2cf9e
@ -4,8 +4,6 @@
|
||||
# Created: 1993-05-16
|
||||
# Public domain
|
||||
|
||||
# $Id$
|
||||
|
||||
errstatus=0
|
||||
|
||||
for file
|
||||
|
@ -7873,6 +7873,9 @@ nv_g_cmd(cap)
|
||||
&& vim_iswhite(ptr[curwin->w_cursor.col]))
|
||||
--curwin->w_cursor.col;
|
||||
curwin->w_set_curswant = TRUE;
|
||||
#ifdef FEAT_VISUAL
|
||||
adjust_for_sel(cap);
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
@ -681,6 +681,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
329,
|
||||
/**/
|
||||
328,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user