blob: 4f2f42f8c9e04d2bf8304114d63877ae210e771c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
if exists('b:undo_indent')
let b:undo_indent = b:undo_indent . '|setlocal shiftwidth<'
endif
" 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
|