blob: 6a61f10562e2b3ded51812d8f6d83b9acc69387d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
" Replace Vim's stock PHP indent rules. They're very complicated and don't
" work in a predictable way.
if exists('b:did_indent')
finish
endif
let b:did_indent = 1
" Easier just to use 'autoindent'; not perfect, but predictable.
setlocal autoindent
let b:undo_indent = 'setlocal autoindent<'
|