If you want correct indenting for PHP with VIM you may be interested by my script:
You can find a detail description of what it can do:
http://www.vim.org/scripts/script.php?script_id=1120
or
http://www.2072productions.com/?to=phpindent.txt
↧