Skip to content

Commit 74ec06a

Browse files
committed
updated for version 7.3.630
Problem: "|" does not behave correctly when 'virtualedit' is set. Solution: Call validate_virtcol(). (David Bürgin)
1 parent 8b2aa9c commit 74ec06a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/normal.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7786,7 +7786,10 @@ n_start_visual_mode(c)
77867786
* virtualedit. Recalculate curwin->w_cursor to avoid bad hilighting.
77877787
*/
77887788
if (c == Ctrl_V && (ve_flags & VE_BLOCK) && gchar_cursor() == TAB)
7789+
{
7790+
validate_virtcol();
77897791
coladvance(curwin->w_virtcol);
7792+
}
77907793
#endif
77917794
VIsual = curwin->w_cursor;
77927795

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,8 @@ static char *(features[]) =
714714

715715
static int included_patches[] =
716716
{ /* Add new patch number below this line */
717+
/**/
718+
630,
717719
/**/
718720
629,
719721
/**/

0 commit comments

Comments
 (0)