Port the following:
neovim/neovim#11568
https://github.com/vim/vim/pull/7860
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.![]()
Merging #7860 (9a0a71c) into master (333bd56) will decrease coverage by
86.53%.
The diff coverage is42.85%.
@@ Coverage Diff @@ ## master #7860 +/- ## =========================================== - Coverage 89.03% 2.49% -86.54% =========================================== Files 148 146 -2 Lines 164960 159843 -5117 =========================================== - Hits 146871 3989 -142882 - Misses 18089 155854 +137765
| Flag | Coverage Δ | |
|---|---|---|
| huge-clang-none | ? |
|
| huge-gcc-none | ? |
|
| huge-gcc-testgui | ? |
|
| huge-gcc-unittests | 2.49% <42.85%> (+<0.01%) |
⬆️ |
Flags with carried forward coverage won't be shown. Click here to find out more.
| Impacted Files | Coverage Δ | |
|---|---|---|
| src/mouse.c | 0.00% <0.00%> (-87.73%) |
⬇️ |
| src/screen.c | 2.99% <50.00%> (-83.02%) |
⬇️ |
| src/sha256.c | 0.00% <0.00%> (-97.96%) |
⬇️ |
| src/digraph.c | 0.00% <0.00%> (-97.78%) |
⬇️ |
| src/gui_gtk_f.c | 0.00% <0.00%> (-97.54%) |
⬇️ |
| src/crypt_zip.c | 0.00% <0.00%> (-97.06%) |
⬇️ |
| src/evalbuffer.c | 0.00% <0.00%> (-96.81%) |
⬇️ |
| src/debugger.c | 0.00% <0.00%> (-96.62%) |
⬇️ |
| src/libvterm/src/rect.h | 0.00% <0.00%> (-96.56%) |
⬇️ |
| src/cmdhist.c | 0.00% <0.00%> (-96.07%) |
⬇️ |
| ... and 136 more |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing data
Powered by Codecov. Last update 333bd56...32091b2. Read the comment docs.
Unfortunately, this does not work with multi-byte characters, which is the only real use-case I can see for the feature. If I try with the example given in the neovim PR (set fillchars+=foldopen:▾,foldsep:│,foldclose:▸), terminal vim displays � for the foldopen and foldclose characters, and nothing for the foldsep char.
vim -Nu NONE -S <(cat <<'EOF' set fillchars+=foldopen:▾,foldsep:│,foldclose:▸ set foldmethod=marker foldcolumn=3 foldlevel=1 setf vim EOF ) <(cat <<'EOF' " a: {{{ " b: {{{ " }}} " }}} EOF )
Displays the following in termite:

I am testing in linux, I don't have the environment to build on windows but can test a nightly release when it becomes available.
Currently multibyte character is not supported for the foldopen, foldclose and foldsep items in
the 'fillchars' option. I will look into porting that support from NeoVim.
Unfortunately, this does not work with multi-byte characters, which is the only real use-case I can see for the feature. If I try with the example given in the neovim PR (
set fillchars+=foldopen:▾,foldsep:│,foldclose:▸), terminal vim displays � for thefoldopenandfoldclosecharacters, and nothing for thefoldsepchar.
I am testing in linux, I don't have the environment to build on windows but can test a nightly release when it becomes available.