aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/vim.vim
blob: 047a353dc9641d3d144adebd9a4f72e8961997e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
setlocal softtabstop=2
setlocal tabstop=2

" Ancient Vim can't use the '<' suffix syntax for resetting local integer
" options
if v:version > 700
  let b:undo_user_indent
        \ = 'setlocal shiftwidth< softtabstop< tabstop<'
endif