I have a space after the dashes .. I use /^- .*/ in the syntax file

On Tue, Nov 11, 2008 at 8:50 AM, Mr. Shawn H. Corey
<[EMAIL PROTECTED]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to