aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent/gitconfig.vim
blob: ff1654e561dc2666707646e3c03f0e2ef7cc06a1 (plain) (blame)
1
2
3
4
5
6
7
8
9
" Use tabs for indent in Git config files, rather than fighting with the
" frontend tool
setlocal noexpandtab
setlocal shiftwidth=0
let b:undo_indent .= '|setlocal expandtab< shiftwidth<'
if &softtabstop != -1
  let &softtabstop = &shiftwidth
  let b:undo_indent .= '|setlocal softtabstop<'
endif