@@ -, +, @@ --- runtime/syntax/perl.vim | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) --- a/runtime/syntax/perl.vim +++ a/runtime/syntax/perl.vim @@ -236,6 +236,8 @@ syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]/+ end=+/[cgimosx]* syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]#+ end=+#[cgimosx]*+ contains=@perlInterpMatch syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]{+ end=+}[cgimosx]*+ contains=@perlInterpMatch syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]\[+ end=+\][cgimosx]*+ contains=@perlInterpMatch +syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]|+ end=+|[cgimosx]*+ contains=@perlInterpMatch +syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!],+ end=+,[cgimosx]*+ contains=@perlInterpMatch " A special case for m!!x which allows for comments and extra whitespace in the pattern syn region perlMatch matchgroup=perlMatchStartEnd start=+[m!]!+ end=+![cgimosx]*+ contains=@perlInterpSlash,perlComment @@ -251,6 +253,8 @@ syn region perlMatch matchgroup=perlMatchStartEnd start=+^split /+lc=5 start=+[^ syn region perlMatch matchgroup=perlMatchStartEnd start=+\= 508 || !exists("did_perl_syn_inits") HiLink perlSubstitutionDQ perlString HiLink perlSubstitutionSlash perlString HiLink perlSubstitutionHash perlString + HiLink perlSubstitutionPalka perlString + HiLink perlSubstitutionComma perlString HiLink perlSubstitutionBracket perlString HiLink perlSubstitutionCurly perlString HiLink perlSubstitutionPling perlString --