Open
Description
Description of issue
I am not able to fold packages.
Your description here!
Maybe I am missing something, but though I have set foldmethod=syntax
and fiddled around with all the different settings, I get everything to work - except code-folding for packages.
E.g.:
package Null {
my $null = bless {}, __PACKAGE__;
sub AUTOLOAD {$null}
sub ok {0}
}
My settings:
let g:perl_fold = 1
let g:perl_include_pod = 1
let g:perl_extended_vars=1
let g:perl_fold_blocks = 1
I've also tried let g:perl_nofold_packages
with 0/1, but no setting worked.
If it is a real bug, I'd definitely appreciate a fix :) If I just missed something, I would be grateful for any help.