0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.4.416

Problem:    Problem with breakindent/showbreak and tabs.
Solution:   Handle tabs differently. (Christian Brabandt)
This commit is contained in:
Bram Moolenaar
2014-08-24 21:19:25 +02:00
parent 7b61a546d8
commit 9576508975
4 changed files with 23 additions and 4 deletions

View File

@@ -1195,10 +1195,7 @@ win_lbr_chartabsize(wp, line, s, col, headp)
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;
}