atom / language-perl

Perl package for Atom
Other
25 stars 32 forks source link

Code folding not working when function has here documents. #54

Open boscharun opened 9 years ago

boscharun commented 9 years ago

If a function has a here document, then folding the function doesn't fold the full function, but only till the start of the here doc.E.g.

sub test { print "Hello world\n";

my $var=<<EOF; test here doc EOF }

folding the function test folds only till the "my $var .." line. The expectation is to fold till the ending "}".