aboutsummaryrefslogtreecommitdiff
path: root/vim/after
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after')
-rw-r--r--vim/after/indent/make.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/vim/after/indent/make.vim b/vim/after/indent/make.vim
new file mode 100644
index 00000000..341cd7f6
--- /dev/null
+++ b/vim/after/indent/make.vim
@@ -0,0 +1,4 @@
+" Use 'tabstop' (8 columns, a full tab) for indent operations in Makefiles.
+" It seems odd that the stock plugin doesn't force this on its own.
+setlocal shiftwidth=0
+let b:undo_indent = 'setlocal shiftwidth<'