patch attached.
** Description changed:
when a user of vim has let perl_fold = 1, and uses the new perl 5.10
style given () { when () {} when () {} } neither the given nor the when
are folded.
43 given ( $self->header ) {
44
45 ##
46 ## For this form -- the label is also in body.
47 ## No structure just {k}=v
48 ##
49 when ( /^lslv [^-]/ ) {
50 +---- 9 lines: foreach my $line ( $self->payload )
{-------------------------------------------------------------
59
60 }
61 }
- When both should probably be folded by default because they are "blocky"
+ When when () {} should probably be folded by default because it is
+ "blocky" and aptly tells what is going on.
** Attachment added: "patch to make when blocks fold"
http://launchpadlibrarian.net/18448302/perl510.patch
--
let perl_fold = 1 and perl 5.10
https://bugs.launchpad.net/bugs/281878
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs