blob: 73b4e430303eda9831ecfcaf63c75b860c38d23d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
" Observe VimL conventions for two-space indents
setlocal shiftwidth=2
if v:version > 703 || v:version == 703 && has('patch693')
setlocal softtabstop=-1
else
setlocal softtabstop=2
endif
" Commands to undo the above
if exists('b:undo_indent')
let b:undo_indent = b:undo_indent
\ . '|setlocal shiftwidth<'
\ . '|setlocal softtabstop<'
endif
|