Add syntax match for 'fun' from F::P

Sat, 10 Oct 2015 10:44:16 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 10 Oct 2015 10:44:16 -0400
changeset 211
4428a36a556d
parent 210
90288edab45e
child 212
36642e1d867a

Add syntax match for 'fun' from F::P

.vim/after/syntax/perl/perl-contrib.vim file | annotate | diff | comparison | revisions
--- 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 +\<fun\>\_s*+ nextgroup=perlSubName

mercurial