diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-29 02:40:25 +0200 |
---|---|---|
committer | ckelsel <ckelsel@hotmail.com> | 2017-08-14 07:45:49 +0800 |
commit | 5ed2ab6d5327ed7c54edc9fa5eb1cfa447edbf2a (patch) | |
tree | a4770dc928e5061e8d713e22b2948c8e229349f9 /src/nvim/screen.c | |
parent | 9b4cbd5cdcc807a69da649b96f52e8a3d56c1ff4 (diff) | |
download | rneovim-5ed2ab6d5327ed7c54edc9fa5eb1cfa447edbf2a.tar.gz rneovim-5ed2ab6d5327ed7c54edc9fa5eb1cfa447edbf2a.tar.bz2 rneovim-5ed2ab6d5327ed7c54edc9fa5eb1cfa447edbf2a.zip |
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.
https://github.com/vim/vim/commit/8da1e6cedf839902e15987a98733ebd31b5f1b81
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r-- | src/nvim/screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index c302ac695e..dd958eec80 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -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 { |