aboutsummaryrefslogtreecommitdiff
path: root/vim/indent/vim.vim
blob: f9a8f211db87d46e4d9ea4432176bc44d653d97f (plain) (blame)
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

" Undo
if !exists('b:undo_indent')
  let b:undo_indent = ''
endif
let b:undo_indent = b:undo_indent
      \ . '|setlocal shiftwidth< softtabstop< tabstop<'