blob: 0767bca0edd6551ee349c4ec879eb77f969dad66 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" Remove inapplicable defaults from 'indentkeys'; we should only need to undo
" this if the stock plugin didn't already arrange that (before v7.3.539)
setlocal indentkeys-=0#,0{,0},0),:
if !exists('b:undo_indent')
let b:undo_indent = 'setlocal indentkeys<'
endif
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
let b:undo_indent .= '|setlocal shiftwidth<'
if &softtabstop != -1
let &l:softtabstop = &l:shiftwidth
let b:undo_indent .= '|setlocal softtabstop<'
endif
|