Added ftplugin sh

This commit is contained in:
James Patrick 2021-08-28 00:07:17 -04:00
parent f5ec18f3bb
commit f0c37b09bc
2 changed files with 3 additions and 0 deletions

2
vim/ftplugin/sh.vim Normal file
View File

@ -0,0 +1,2 @@
let b:ale_fixers = ['shfmt']
let b:ale_fix_on_save = 0

View File

@ -14,6 +14,7 @@ init:
$(mk_link) $(SRC_DIR)/vimrc ~/.vimrc
$(mk_link) $(SRC_DIR)/vimrc.d $(TARGET_DIR)/vimrc.d
$(mk_link) $(SRC_DIR)/spell $(TARGET_DIR)/spell
$(mk_link) $(SRC_DIR)/ftplugin $(TARGET_DIR)/ftplugin
( mkdir -p $(TARGET_DIR)/backup \
&& chmod 700 $(TARGET_DIR)/backup ) \
; $(report) "setting up backup dir"