aboutsummaryrefslogtreecommitdiff
path: root/vim/after/indent/vim.vim
blob: 548d3e5c80bc42dfcd5849441bc88d58f79f45c3 (plain) (blame)
1
2
3
4
5
6
7
8
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
setlocal softtabstop=2
let b:undo_indent .= '|setlocal shiftwidth< softtabstop<'

" Remove inapplicable defaults from 'indentkeys'
setlocal indentkeys-=0#,0{,0},0),:
let b:undo_indent .= '|setlocal indentkeys<'