Skip to content

Commit

Permalink
Merge branch 'vim'
Browse files Browse the repository at this point in the history
  • Loading branch information
genoma committed Aug 30, 2014
2 parents 1b4baee + 4cf30a6 commit 7a49708
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .hgtags
Original file line number Diff line number Diff line change
Expand Up @@ -3151,3 +3151,5 @@ e60327caf9095d5ec067a5ab47bf4a69c0f58580 v7-4-417
7ab9a9cf2859ae4b7c00c4fff016fd5a0869450e v7-4-426
fca35aa9380a9e3acecc78f85e05f26436e87ae1 v7-4-427
1fe61f6d52079f44f61b3e03cf9b0c300f2890d9 v7-4-428
e98e415ea3b8c743a5ab04ad9f498ab1b11ae8cf v7-4-429
f4e9c65a18d4a5753747f327ed55c10f05d8d91c v7-4-430
2 changes: 2 additions & 0 deletions src/normal.c
Original file line number Diff line number Diff line change
Expand Up @@ -4523,8 +4523,10 @@ nv_screengo(oap, dir, dist)
*/
validate_virtcol();
virtcol = curwin->w_virtcol;
# if defined(FEAT_LINEBREAK)
if (virtcol > (colnr_T)width1 && *p_sbr != NUL)
virtcol -= vim_strsize(p_sbr);
# endif

if (virtcol > curwin->w_curswant
&& (curwin->w_curswant < (colnr_T)width1
Expand Down
2 changes: 1 addition & 1 deletion src/testdir/test_listlbr.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Test for linebreak and list option (non-utf8)

STARTTEST
:so small.vim
:if !exists("+linebreak") | e! test.ok | w! test.out | qa! | endif
:if !exists("+linebreak") || !exists("+conceal") | e! test.ok | w! test.out | qa! | endif
:10new|:vsp|:vert resize 20
:put =\"\tabcdef hijklmn\tpqrstuvwxyz_1060ABCDEFGHIJKLMNOP \"
:norm! zt
Expand Down
4 changes: 4 additions & 0 deletions src/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,10 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
430,
/**/
429,
/**/
428,
/**/
Expand Down

0 comments on commit 7a49708

Please sign in to comment.