1
0
forked from aniani/vim

updated for version 7.4.346

Problem:    Indent is not updated when changing 'breakindentopt'. (itchyny)
Solution:   Do not cache "brishift". (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2014-06-26 21:24:56 +02:00
parent a40aa760a1
commit 9d7a592c80
2 changed files with 4 additions and 2 deletions

View File

@@ -513,11 +513,11 @@ get_breakindent_win(wp, line)
prev_ts = wp->w_buffer->b_p_ts;
prev_tick = wp->w_buffer->b_changedtick;
prev_indent = get_indent_str(line,
(int)wp->w_buffer->b_p_ts, wp->w_p_list) + wp->w_p_brishift;
(int)wp->w_buffer->b_p_ts, wp->w_p_list);
}
bri = prev_indent + wp->w_p_brishift;
/* indent minus the length of the showbreak string */
bri = prev_indent;
if (wp->w_p_brisbr)
bri -= vim_strsize(p_sbr);

View File

@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
346,
/**/
345,
/**/