mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.4.388
Problem: With 'linebreak' set and 'list' unset a Tab is not counted properly. (Kent Sibilev) Solution: Check the 'list' option. (Christian Brabandt)
This commit is contained in:
@@ -4494,7 +4494,7 @@ win_line(wp, lnum, startrow, endrow, nochange)
|
||||
tab_len = (int)wp->w_buffer->b_p_ts
|
||||
- vcol % (int)wp->w_buffer->b_p_ts - 1;
|
||||
#ifdef FEAT_LINEBREAK
|
||||
if (!wp->w_p_lbr)
|
||||
if (!wp->w_p_lbr || !wp->w_p_list)
|
||||
#endif
|
||||
/* tab amount depends on current column */
|
||||
n_extra = tab_len;
|
||||
|
Reference in New Issue
Block a user