.vim/after/syntax/perl/custom.vim

changeset 651
4a0d4c07b49e
parent 643
e23cf51aca43
child 656
a74ea5b0fc73
--- a/.vim/after/syntax/perl/custom.vim
+++ b/.vim/after/syntax/perl/custom.vim
@@ -5,6 +5,10 @@ compiler perl
 setlocal makeprg=perl\ -c\ %\ $*
 setlocal iskeyword+=:
 
+if g:perl_tidy_equalprg
+  setlocal equalprg=perltidy\ -q
+endif
+
 " this keeps indents from jumping more than one level
 let b:indent_use_syntax = 0
 

mercurial