aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/after/indent/help.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/vim/after/indent/help.vim b/vim/after/indent/help.vim
new file mode 100644
index 00000000..449e3b4a
--- /dev/null
+++ b/vim/after/indent/help.vim
@@ -0,0 +1,6 @@
+" Use hard tabs for Vim help
+setlocal noexpandtab shiftwidth=0 tabstop=8
+if &softtabstop != -1
+ let &softtabstop = &shiftwidth
+endif
+let b:undo_indent .= '|setlocal expandtab< shiftwidth< softtabstop< tabstop<'