aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/help.vim
blob: 1edf64fbaffdf6d1b888d513a81ef787f6f5bb24 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
" Only do this when not done yet for this buffer
if exists('b:did_indent')
  finish
endif
let b:did_indent = 1

" Use hard tabs for editing Vim help files
setlocal noexpandtab shiftwidth=0 tabstop=8
if &softtabstop != -1
  let &softtabstop = &shiftwidth
endif
let b:undo_indent = 'setlocal expandtab< shiftwidth< softtabstop< tabstop<'