aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/getchar.c
diff options
context:
space:
mode:
authorFelipe Morales <hel.sheep@gmail.com>2014-06-26 00:21:57 -0400
committerFelipe Morales <hel.sheep@gmail.com>2014-08-20 05:19:49 -0400
commit47391b18e2084f2747b10aa6158bc40e03f01528 (patch)
treec4964c57901313d4067f80325d320cc94a579b49 /src/nvim/getchar.c
parentbbefc73c553d681f78f40df9d97ec89ae9b06520 (diff)
downloadrneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.gz
rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.tar.bz2
rneovim-47391b18e2084f2747b10aa6158bc40e03f01528.zip
Port vim's patch 7.4.338 ('breakindent')
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r--src/nvim/getchar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c
index e98bb2744c..6c772a8a66 100644
--- a/src/nvim/getchar.c
+++ b/src/nvim/getchar.c
@@ -2163,7 +2163,7 @@ static int vgetorpeek(int advance)
while (col < curwin->w_cursor.col) {
if (!vim_iswhite(ptr[col]))
curwin->w_wcol = vcol;
- vcol += lbr_chartabsize(ptr + col,
+ vcol += lbr_chartabsize(ptr, ptr + col,
(colnr_T)vcol);
if (has_mbyte)
col += (*mb_ptr2len)(ptr + col);