File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed
Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -4241,7 +4241,11 @@ current_par(
42414241 * line, we get stuck there. Trap this here. */
42424242 if (VIsual_mode == 'V' && start_lnum == curwin -> w_cursor .lnum )
42434243 goto extend ;
4244- VIsual .lnum = start_lnum ;
4244+ if (VIsual .lnum != start_lnum )
4245+ {
4246+ VIsual .lnum = start_lnum ;
4247+ VIsual .col = 0 ;
4248+ }
42454249 VIsual_mode = 'V' ;
42464250 redraw_curbuf_later (INVERTED ); /* update the inversion */
42474251 showmode ();
Original file line number Diff line number Diff line change @@ -36,3 +36,10 @@ func Test_Visual_ctrl_o()
3636 set tw &
3737 bw !
3838endfu
39+
40+ func Test_Visual_vapo ()
41+ new
42+ normal oxx
43+ normal vapo
44+ bwipe!
45+ endfunc
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 330 ,
767769/**/
768770 329 ,
769771/**/
You can’t perform that action at this time.
0 commit comments