diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 22:35:11 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-06-19 22:35:11 +1200 |
commit | 8fc405cc45ff07d64a8cab145e53f6de12b5b7c2 (patch) | |
tree | 7fd0936ee9324a352914df763c803b06e2a76c37 /vim | |
parent | Add a word to a comment (diff) | |
download | dotfiles-8fc405cc45ff07d64a8cab145e53f6de12b5b7c2.tar.gz dotfiles-8fc405cc45ff07d64a8cab145e53f6de12b5b7c2.zip |
Use hard tabs for editing Vim :help files
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/indent/help.vim | 6 |
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<' |