mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 19:48:32 +00:00
vim-patch: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:
@@ -3461,7 +3461,7 @@ win_line (
|
||||
/* tab amount depends on current column */
|
||||
tab_len = (int)wp->w_buffer->b_p_ts
|
||||
- vcol % (int)wp->w_buffer->b_p_ts - 1;
|
||||
if (!wp->w_p_lbr) {
|
||||
if (!wp->w_p_lbr || !wp->w_p_list) {
|
||||
n_extra = tab_len;
|
||||
} else {
|
||||
char_u *p;
|
||||
|
Reference in New Issue
Block a user