no executable checks for equalprgs

Tue, 19 Nov 2019 22:38:14 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 19 Nov 2019 22:38:14 -0600
changeset 824
7f5db423524e
parent 823
da66fb550c74
child 825
eb51a3329326

no executable checks for equalprgs

.vim/after/ftplugin/perl.vim file | annotate | diff | comparison | revisions
.vim/ftplugin/sh.vim file | annotate | diff | comparison | revisions
.vimrc file | annotate | diff | comparison | revisions
--- a/.vim/after/ftplugin/perl.vim
+++ b/.vim/after/ftplugin/perl.vim
@@ -1,5 +1,2 @@
 compiler perl
-
-if exists('g:perl_tidy_equalprg') && g:perl_tidy_equalprg
-  setlocal equalprg=perltidy\ -q
-endif
+setlocal equalprg=perltidy\ -q
--- a/.vim/ftplugin/sh.vim
+++ b/.vim/ftplugin/sh.vim
@@ -1,3 +1,1 @@
-if executable('shfmt')
-  let &l:equalprg = "shfmt -i " . &shiftwidth
-endif
+let &l:equalprg = "shfmt -i " . &shiftwidth
--- a/.vimrc
+++ b/.vimrc
@@ -313,7 +313,6 @@ let perl_sub_signatures  = 1
 let perl_sync_dist       = 200
 
 let g:perl_compiler_force_warnings = 0
-let g:perl_tidy_equalprg           = executable('perltidy') ? 1 : 0
 " }}}
 
 " Plugin settings  {{{

mercurial