aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent/c.vim
blob: 1893f5641ade66f834314c1df983434e6f858947 (plain) (blame)
1
2
3
4
5
6
" Use tabs for C
setlocal noexpandtab shiftwidth=0 tabstop=8
if &softtabstop != -1
  let &softtabstop = &shiftwidth
endif
let b:undo_indent .= '|setlocal expandtab< shiftwidth< softtabstop< tabstop<'