From 36e89d5fa82fb5f876890e57dc3a98028d384c3d Mon Sep 17 00:00:00 2001 From: Afanasov Dmitry Date: Tue, 21 Apr 2009 18:54:33 +0400 Subject: [PATCH] perl.vim: hilight perl's s,,,/m,, and s|||/m|| --- runtime/syntax/perl.vim | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/runtime/syntax/perl.vim b/runtime/syntax/perl.vim index fb9195a..9bd601b 100644 --- a/runtime/syntax/perl.vim +++ b/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 -- 1.6.1.3.GIT