From f0c37b09bcb8f6f0f4dec2125594d5309591a87e Mon Sep 17 00:00:00 2001 From: James Patrick Date: Sat, 28 Aug 2021 00:07:17 -0400 Subject: [PATCH] Added ftplugin sh --- vim/ftplugin/sh.vim | 2 ++ vim/makefile | 1 + 2 files changed, 3 insertions(+) create mode 100644 vim/ftplugin/sh.vim 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"