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 +