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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user