On Tue, 2008-11-11 at 07:43 -0600, Tim Chase wrote: > To fold based on that definition, you can use > > :set foldmethod=expr > :set foldexpr=strlen(matchstr(getline(v:lnum),'^-*')) >
Shouldn't the pattern be: '^--*' -- Just my 0.00000002 million dollars worth, Shawn The map is not the territory, the dossier is not the person, the model is not reality, and the universe is indifferent to your beliefs. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
