This is a fork of the official VIm syntax file for PHP (version from 2012-12-11 is bundled with VIm 7.4)
For now I just fix things I need and use daily.
See the commit log to see the changes from Jason Woofenden's version.
-
Install and configure the Vundle plug-in manager, follow the instructions here
-
Add the following line to your
.vimrc
:Plugin '2072/vim-syntax-for-PHP.git'
-
Source your
.vimrc
with:so %
or otherwise reload your VIm -
Run the
:PluginInstall
command
-
Install the pathogen.vim plug-in, follow the instructions here
-
Clone the repository under your
~/.vim/bundle/
directory:cd ~/.vim/bundle git clone git@github.com:2072/vim-syntax-for-PHP.git