diff --git a/vim/ftplugin/sh.vim b/vim/ftplugin/sh.vim new file mode 100644 index 0000000..41b0e00 --- /dev/null +++ b/vim/ftplugin/sh.vim @@ -0,0 +1,2 @@ +let b:ale_fixers = ['shfmt'] +let b:ale_fix_on_save = 0 diff --git a/vim/makefile b/vim/makefile index cac44b9..d997d9e 100644 --- a/vim/makefile +++ b/vim/makefile @@ -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"