diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-03-21 14:39:19 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-03-21 14:39:19 +0100 |
commit | 196a1f740981e878091fa124a400d1fc4bfa2bb0 (patch) | |
tree | ce397a8e006aa7d4983ba7f868e5f6331403d5b8 /src/testdir/test_fold.vim | |
parent | c5cf369e9543ff065e2e1da91da3218c223840e2 (diff) |
patch 8.2.2633: multi-byte 'fillchars' for folding do not show properlyv8.2.2633
Problem: Multi-byte 'fillchars' for folding do not show properly.
Solution: Handle multi-byte characters correctly. (Yegappan Lakshmanan,
closes #7983, closes #7955)
Diffstat (limited to 'src/testdir/test_fold.vim')
-rw-r--r-- | src/testdir/test_fold.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_fold.vim b/src/testdir/test_fold.vim index d451b1eb49..a032f4536e 100644 --- a/src/testdir/test_fold.vim +++ b/src/testdir/test_fold.vim @@ -1061,6 +1061,12 @@ func Test_foldcolumn_multibyte_char() set fillchars+=foldopen:▾,foldsep:│,foldclose:▸ call s:mbyte_fillchar_tests('▾', '▸', '│') + " Use a mix of multi-byte and single-byte characters + set fillchars+=foldopen:¬,foldsep:\|,foldclose:+ + call s:mbyte_fillchar_tests('¬', '+', '|') + set fillchars+=foldopen:+,foldsep:\|,foldclose:¬ + call s:mbyte_fillchar_tests('+', '¬', '|') + bw! set foldenable& fdc& fdm& fillchars& endfunc |