This is the official PHP indentation plug-in for VIm (version 1.39 is bundled with VIm 7.4).
Please, visit the homepage of the PHP indentation script to see all the details about its features and capabilities.
:help php-indent inside VIm.
Optional updated Syntax script
- Install and configure the Vundle plug-in manager, follow the instructions here
Add the following line to your
- Source your
:so %or otherwise reload your VIm
- Run the