Update elixir, perl and rust

This commit is contained in:
Adam Stankiewicz
2014-03-16 14:48:30 +01:00
parent 94f72a68c3
commit 95bc6710a4
3 changed files with 6 additions and 2 deletions

View File

@@ -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