diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2014-03-16 14:48:30 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2014-03-16 14:48:30 +0100 |
commit | 95bc6710a4fd961ecc1d7d9f344e97fb690810b1 (patch) | |
tree | 16a822293039f8b7ce5a9bc3a9a34ad84ab8acb1 /syntax/perl.vim | |
parent | 94f72a68c3dccade13ec7203a284620040f930f1 (diff) | |
download | vim-polyglot-95bc6710a4fd961ecc1d7d9f344e97fb690810b1.tar.gz vim-polyglot-95bc6710a4fd961ecc1d7d9f344e97fb690810b1.zip |
Update elixir, perl and rust
Diffstat (limited to 'syntax/perl.vim')
-rw-r--r-- | syntax/perl.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syntax/perl.vim b/syntax/perl.vim index c7a2f4d5..a42a8455 100644 --- a/syntax/perl.vim +++ b/syntax/perl.vim @@ -410,7 +410,7 @@ if exists("perl_fold") endif if !exists("perl_nofold_subs") if exists("perl_fold_anonymous_subs") && perl_fold_anonymous_subs - syn region perlSubFold start="\<sub\>[^\n;]*{" end="}" transparent fold keepend extend + syn region perlSubFold start="\<sub\>[^;]*{" end="}" transparent fold keepend extend syn region perlSubFold start="\<\%(BEGIN\|END\|CHECK\|INIT\)\>\s*{" end="}" transparent fold keepend else syn region perlSubFold start="^\z(\s*\)\<sub\>.*[^};]$" end="^\z1}\s*\%(#.*\)\=$" transparent fold keepend |