.vim/after/ftplugin/perl.vim

changeset 768
7ed19a36b198
parent 744
7a5823050d74
child 824
7f5db423524e
--- a/.vim/after/ftplugin/perl.vim
+++ b/.vim/after/ftplugin/perl.vim
@@ -1,5 +1,5 @@
 compiler perl
 
-if g:perl_tidy_equalprg
+if exists('g:perl_tidy_equalprg') && g:perl_tidy_equalprg
   setlocal equalprg=perltidy\ -q
 endif

mercurial