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,3 +7,5 @@ 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