hsitz/VimOrganizer — pull request #31 by ralesi (2012-03-02 20:31:26+00:00)
Title: Allow spaces between headings

I sometimes like to have spaces in between headings to make the structure more obvious. The current implementation of s:OrgSubtreeLastLine_l will search for the next star at the same level and subtract one. However, with this algorithm, you get this problem:

*** Headings 1
*** Heading 2
**** SubHead1

**** ^
*** Heading3

This fix skips over all blank lines to give the desired behavior:

*** Headings 1
*** Heading 2
**** SubHead1
**** ^

*** Heading3