diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2014-10-11 19:13:35 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2014-11-11 12:51:58 -0500 |
commit | 24ebb018e28187c61900b1616e4f79fec9d70878 (patch) | |
tree | ad4150d59bafeaf255ce737cb3945a4c9e7ac638 /src/nvim/charset.c | |
parent | b1e06c6d60f4947794851982eb73db6ef3b64fbf (diff) | |
download | rneovim-24ebb018e28187c61900b1616e4f79fec9d70878.tar.gz rneovim-24ebb018e28187c61900b1616e4f79fec9d70878.tar.bz2 rneovim-24ebb018e28187c61900b1616e4f79fec9d70878.zip |
vim-patch:7.4.416
Problem: Problem with breakindent/showbreak and tabs.
Solution: Handle tabs differently. (Christian Brabandt)
https://code.google.com/p/vim/source/detail?name=v7-4-416
Diffstat (limited to 'src/nvim/charset.c')
-rw-r--r-- | src/nvim/charset.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/nvim/charset.c b/src/nvim/charset.c index 57c4aec395..e7ecf05880 100644 --- a/src/nvim/charset.c +++ b/src/nvim/charset.c @@ -1072,12 +1072,7 @@ int win_lbr_chartabsize(win_T *wp, char_u *line, char_u *s, colnr_T col, int *he 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; } |