diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2014-06-26 00:21:57 -0400 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2014-08-20 05:19:49 -0400 |
commit | 47391b18e2084f2747b10aa6158bc40e03f01528 (patch) | |
tree | c4964c57901313d4067f80325d320cc94a579b49 /src/nvim/cursor.c | |
parent | bbefc73c553d681f78f40df9d97ec89ae9b06520 (diff) | |
download | rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.gz rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.bz2 rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.zip |
Port vim's patch 7.4.338 ('breakindent')
Diffstat (limited to 'src/nvim/cursor.c')
-rw-r--r-- | src/nvim/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/cursor.c b/src/nvim/cursor.c index 64a3b73f15..cd84d7014c 100644 --- a/src/nvim/cursor.c +++ b/src/nvim/cursor.c @@ -138,7 +138,7 @@ static int coladvance2( ptr = line; while (col <= wcol && *ptr != NUL) { /* Count a tab for what it's worth (if list mode not on) */ - csize = win_lbr_chartabsize(curwin, ptr, col, &head); + csize = win_lbr_chartabsize(curwin, line, ptr, col, &head); mb_ptr_adv(ptr); col += csize; } |