I'm trying to get folding of "POD" in Perl working.  POD starts with a left 
justfied '=head1', '=head2' or '=head3'.  It ends with a left-justified '=cut'.

So I'm trying this:

      syn region POD start=/^=head[123]/ end=/^=cut/ fold


I've gotten this to work precisely once, when entered in command mode.  Usually 
it merely disables my POD's syntax coloring.  When I try to drop this in my 
.vimrc it has no effect.  How do I debug something like this?

I do have "set foldenable" in my .vimrc before the above line is called.

Cheers,
Ovid
--
Buy the book         - http://www.oreilly.com/catalog/perlhks/
Tech blog            - http://use.perl.org/~Ovid/journal/
Twitter              - http://twitter.com/OvidPerl
Official Perl 6 Wiki - http://www.perlfoundation.org/perl6


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to