Public bug reported:

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"

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to