.vim/ftplugin/sh.vim

Fri, 20 Sep 2019 00:45:30 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 20 Sep 2019 00:45:30 -0500
changeset 791
5b1ae7f6ee1e
parent 788
f8da8d4ff16a
child 824
7f5db423524e
permissions
-rw-r--r--

add global rerere

788
f8da8d4ff16a use shfmt if available
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 if executable('shfmt')
f8da8d4ff16a use shfmt if available
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 let &l:equalprg = "shfmt -i " . &shiftwidth
f8da8d4ff16a use shfmt if available
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 endif

mercurial