.vim/ftplugin/sh.vim

Mon, 14 Oct 2019 16:44:25 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 14 Oct 2019 16:44:25 -0500
changeset 797
41e248a8a6f7
parent 788
f8da8d4ff16a
child 824
7f5db423524e
permissions
-rw-r--r--

remove schemes - no more scheming

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