blob: e46aae54ae42f19b02f82a71276d1e25d7dbad38 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
let b:undo_indent = b:undo_indent . '|setlocal shiftwidth<'
" If we need to set 'softtabstop' too, do it
if &softtabstop == -1
setlocal softtabstop=2
if exists('b:undo_indent')
let b:undo_indent = b:undo_indent . '|setlocal softtabstop<'
endif
endif
|