fix(vim-shfmt): remove duplicate autocmd (now exists upstream)

This commit is contained in:
AJ ONeal
2023-03-06 20:21:08 +00:00
parent e5ffc8a931
commit 1b37080425
+12 -6
View File
@@ -1,9 +1,15 @@
"""""""""""""""""""""""""""""""""
" shfmt-specific defaults "
" from webinstall.dev/vim-shfmt "
"""""""""""""""""""""""""""""""""
" Change Log
"
" 2023-03-06:
" - remove explicit file extension detection
" (this now works as expected by default)
" 4 indents, Space between redirects, Indented case statements, Simplified
let g:shfmt_extra_args = '-i 4 -sr -ci -s'
let g:shfmt_fmt_on_save = 1
augroup LocalShell
autocmd!
autocmd BufWritePre *.sh,*.bash Shfmt
augroup END