From 8fc405cc45ff07d64a8cab145e53f6de12b5b7c2 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 19 Jun 2019 22:35:11 +1200 Subject: Use hard tabs for editing Vim :help files --- vim/after/indent/help.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vim/after/indent/help.vim (limited to 'vim/after') 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<' -- cgit v1.2.3