vim-patch:7.4.416

Problem:    Problem with breakindent/showbreak and tabs.
Solution:   Handle tabs differently. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?name=v7-4-416
This commit is contained in:
Scott Prager
2014-10-11 19:13:35 -04:00
parent b1e06c6d60
commit 24ebb018e2
4 changed files with 22 additions and 7 deletions

View File

@@ -1072,12 +1072,7 @@ int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *he
if (wp->w_p_bri)
added += get_breakindent_win(wp, line);
if (tab_corr) {
size += (added / wp->w_buffer->b_p_ts) * wp->w_buffer->b_p_ts;
} else {
size += added;
}
size += added;
if (col != 0) {
added = 0;
}