pseewald / vim-anyfold

Language agnostic vim plugin for folding and motion based on indentation.
MIT License
268 stars 11 forks source link

Avoid adding blank lines at end of fold #45

Open humenda opened 11 months ago

humenda commented 11 months ago

I am using anyfold to fold a markdown document, e.g.

First Heading
========

- note
    -   foldline1
    -   foldline2
    -   foldline 3

Second heading

The Plugin folds the indented "foldlines" and includes the two trailing empty lines until the 2nd heading into the fold. This means that, when folded, the fold is immediately followed by the heading without a separating blank line. This makes navigation with { or } impossible.

Could this be fixed?