vim-patch:8.0.0524

Problem:    Folds are messed up when 'encodin' is "utf-8".
Solution:   Also set the fold character when it's not multi-byte.

8da1e6cedf
This commit is contained in:
Justin M. Keyes
2017-07-29 02:40:25 +02:00
parent cddd4e613e
commit a0c7e35eee
3 changed files with 12 additions and 1 deletions

View File

@@ -1927,6 +1927,7 @@ static void fold_line(win_T *wp, long fold_count, foldinfo_T *foldinfo, linenr_T
ScreenLines[off + col] = 0x80; // avoid storing zero
} else {
ScreenLinesUC[off + col] = 0;
ScreenLines[off + col] = fill_fold;
}
col++;
} else {