# HG changeset patch # User Meredith Howard # Date 1447053895 18000 # Node ID a155935cbe07bd506e8d3d66ad8a91e0e862ba13 # Parent 5b91792c70bad0829ff6e0c90403afd3244b0e38 Add match for =method from Pod::Weaver, move to own file diff --git a/.vim/after/syntax/perl/custom.vim b/.vim/after/syntax/perl/custom.vim new file mode 100644 --- /dev/null +++ b/.vim/after/syntax/perl/custom.vim @@ -0,0 +1,6 @@ +" Add match for 'fun' from Function::Parameters +syn match perlFunction +\\_s*+ nextgroup=perlSubName + +" Add match for =method from Pod::Weaver +syn match podCommand "^=method" contained nextgroup=podCmdText contains=@NoSpell + diff --git a/.vim/after/syntax/perl/perl-contrib.vim b/.vim/after/syntax/perl/perl-contrib.vim --- a/.vim/after/syntax/perl/perl-contrib.vim +++ b/.vim/after/syntax/perl/perl-contrib.vim @@ -7,5 +7,3 @@ runtime contrib/method-signatures.vim runtime contrib/test-more.vim runtime contrib/try-tiny.vim -" Add match for 'fun' from Function::Parameters -syn match perlFunction +\\_s*+ nextgroup=perlSubName