diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2014-08-16 15:48:41 -0400 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2014-08-20 08:27:22 -0400 |
commit | 2e1c74586959e1f023d7d708af55258ba91a929c (patch) | |
tree | 47700d4db84779191abbc29bb0f5aedc3a9e4ec5 /src/nvim/screen.c | |
parent | 91aabcb75b2ff8fa3b718e2f08b5f723f5900d0f (diff) | |
download | rneovim-2e1c74586959e1f023d7d708af55258ba91a929c.tar.gz rneovim-2e1c74586959e1f023d7d708af55258ba91a929c.tar.bz2 rneovim-2e1c74586959e1f023d7d708af55258ba91a929c.zip |
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)
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 5eaebfbf7c..811f265902 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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; |