| commit | 597a422416f37f8e22ed8f561667d6bab8814958 | [log] [tgz] |
|---|---|---|
| author | Bram Moolenaar <Bram@vim.org> | Wed Jun 25 14:39:50 2014 +0200 |
| committer | Bram Moolenaar <Bram@vim.org> | Wed Jun 25 14:39:50 2014 +0200 |
| tree | 8bada5798d608ac2a37b7f0ddbf7a24e8da4bd25 | |
| parent | 15a35c4f4a1670dd6ca228068a451f78d2bf75e0 [diff] [blame] |
updated for version 7.4.338
Problem: Cannot wrap lines taking indent into account.
Solution: Add the 'breakindent' option. (many authors, final improvements by
Christian Brabandt)
diff --git a/src/getchar.c b/src/getchar.c index c4ffb4b..55fdd31 100644 --- a/src/getchar.c +++ b/src/getchar.c
@@ -2675,7 +2675,7 @@ { if (!vim_iswhite(ptr[col])) curwin->w_wcol = vcol; - vcol += lbr_chartabsize(ptr + col, + vcol += lbr_chartabsize(ptr, ptr + col, (colnr_T)vcol); #ifdef FEAT_MBYTE if (has_mbyte)