File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -4357,6 +4357,10 @@ current_quote(
43574357 /* Correct cursor when 'selection' is exclusive */
43584358 if (VIsual_active )
43594359 {
4360+ /* this only works within one line */
4361+ if (VIsual .lnum != curwin -> w_cursor .lnum )
4362+ return FALSE;
4363+
43604364 vis_bef_curs = lt (VIsual , curwin -> w_cursor );
43614365 if (* p_sel == 'e' && vis_bef_curs )
43624366 dec_cursor ();
Original file line number Diff line number Diff line change @@ -43,3 +43,10 @@ func Test_Visual_vapo()
4343 normal vapo
4444 bwipe!
4545endfunc
46+
47+ func Test_Visual_inner_quote ()
48+ new
49+ normal oxX
50+ normal vki'
51+ bwipe!
52+ 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+ 339 ,
767769/**/
768770 338 ,
769771/**/
You can’t perform that action at this time.
0 commit comments