vim-anyfold icon indicating copy to clipboard operation
vim-anyfold copied to clipboard

How to leave a space at the bottom of each fold

Open pianocomposer321 opened this issue 4 years ago • 0 comments

image image

Compare the above images. The first is from vscode, the second from vim using anyfold. It's the same code, but there's one obvious difference: the folding. You see, the source code has at least one empty space after every class and function definition. Vscode's folding does the right thing - it leaves the space there. But anyfold gets rid of the space. If I add two empty lines, it gets rid of both of them. This makes my code feel very crowded when it's folded, and as someone who uses folding constantly, this is very annoying.

pianocomposer321 avatar Jun 16 '20 19:06 pianocomposer321