So one of my coworkers just got mad at me for polluting a bunch of source
code with fold markers, so I figured I should investigate syntax based
folding. The folding that comes out of the box for perl is mostly great.
Anyway, I want to fold on anonymous subroutines as well as regular subs.
For example, I have a huge chunk of code like this:
%blah = (
foo => sub {
...
},
bar => sub {
...
},
);
I'd like to fold on the foo and bar parts. Any ideas on how to do this?
and if so I guess I just put the stuff in my ~/.vim/syntax/perl.vim?
Any help at all would be appreciated.
Thanks!
--
-fREW
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---