From 7946924e237e059bb1b8ca311824042f69396e66 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 10 Jul 2021 16:00:40 -0400 Subject: add some shfmt config --- vim/ftplugin/sh.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'vim') diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim index 004cd12..728eb70 100644 --- a/vim/ftplugin/sh.vim +++ b/vim/ftplugin/sh.vim @@ -1,3 +1,4 @@ let b:is_bash = 1 let b:ale_fixers = { 'sh': ['shfmt'] } let b:ale_fix_on_save = 1 +let b:ale_sh_shfmt_options = '-i 4' -- cgit v1.2.3-54-g00ecf