.vim/ftplugin/sh.vim

Fri, 18 Oct 2019 14:05:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 14:05:27 -0400
changeset 803
ffc6f9c140cd
parent 788
f8da8d4ff16a
child 824
7f5db423524e
permissions
-rw-r--r--

Move this Ag stuff into a function, remove flickers

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