aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/_GLOBAL.vim
blob: 8280b9f849d42e9fd6eb2a30b89207ad3a72d606 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
" Source this file (probably with :runtime) to explicitly set local indent
" settings for a buffer back to the global settings, in case it was changed
" by a prior filetype (e.g. VimL).
setlocal autoindent<
setlocal expandtab<

" Unfortunately, older versions of Vim (6.2 is known) accept neither the
" `option<` nor `option=` syntax for resetting these numeric values.
if v:version >= 700
  setlocal shiftwidth=
  setlocal softtabstop=
  setlocal tabstop=
endif