diff options
author | Mike Crute <mike@crute.us> | 2020-05-19 15:49:38 +0000 |
---|---|---|
committer | Mike Crute <mike@crute.us> | 2020-05-19 15:49:38 +0000 |
commit | 28cb0b5ee7e5c133c58f0e234858c998f7d64d66 (patch) | |
tree | f2c42916d500d60d6a4141a7355c50142060c3b2 /.vim | |
parent | 951914437856b2275a9b66ecaff1bb4d0e366c87 (diff) | |
download | dotfiles-28cb0b5ee7e5c133c58f0e234858c998f7d64d66.tar.bz2 dotfiles-28cb0b5ee7e5c133c58f0e234858c998f7d64d66.tar.xz dotfiles-28cb0b5ee7e5c133c58f0e234858c998f7d64d66.zip |
vim: always use tabs in shell scripts
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/ftplugin/bash.vim | 3 | ||||
-rw-r--r-- | .vim/ftplugin/sh.vim | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/.vim/ftplugin/bash.vim b/.vim/ftplugin/bash.vim new file mode 100644 index 0000000..8c49a50 --- /dev/null +++ b/.vim/ftplugin/bash.vim | |||
@@ -0,0 +1,3 @@ | |||
1 | " Heredocs in shells expect leading tabs in the <<-EOF form so just be | ||
2 | " consistent and always use tabs. | ||
3 | setlocal noexpandtab | ||
diff --git a/.vim/ftplugin/sh.vim b/.vim/ftplugin/sh.vim new file mode 100644 index 0000000..8c49a50 --- /dev/null +++ b/.vim/ftplugin/sh.vim | |||
@@ -0,0 +1,3 @@ | |||
1 | " Heredocs in shells expect leading tabs in the <<-EOF form so just be | ||
2 | " consistent and always use tabs. | ||
3 | setlocal noexpandtab | ||