blob: 6f97d97982e8ba03d42e34a935dc66a630c8b529 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
" The stock Perl indenting is decent, but doesn't include an undo variable;
" this adds one
if !exists('b:undo_indent')
let b:undo_indent = 'unlet! b:did_indent'
let b:undo_indent = b:undo_indent . '|setlocal indentexpr< indentkeys<'
let b:undo_indent = b:undo_indent . '|unlet! b:indent_use_syntax'
let b:undo_indent = b:undo_indent . '|unlet! b:match_skip'
let b:undo_indent = b:undo_indent . '|unlet! b:match_words'
endif
|