mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user