jbw wrote: > Ok.. partially working. > > I tried the following > > set foldmethod=expr > strlen(matchstr(getline(v:lnum),'^-*\\ze\\s')) > > but it only seems to match the single line. It doesn't fold any of the > text below that line unless it is a lower level heading. How do I get > it to fold the text below the heading.
I picked this up earlier and posted what I believe would solve this. Check my earlier reply. Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
