Mon, 16 Sep 2019 21:36:29 -0400
use shfmt if available
new file mode 100644 --- /dev/null +++ b/.vim/ftplugin/sh.vim @@ -0,0 +1,3 @@ +if executable('shfmt') + let &l:equalprg = "shfmt -i " . &shiftwidth +endif