Vim syntax file for php 5.4
Generated using the script of Paul Garvin: http://www.vim.org/scripts/script.php?script_id=2874
-
Using [Vundle]:
- Add the following line to your .vimrc file:
Bundle 'donnut/vim-php54-syntax'
- Launch
vim
and run:BundleInstall
If you have a php.vim file in your ~/.vim/syntax directory, remove it. Otherwise it will be loaded instead of the Vundle installed syntax file.
-
Manually:
- Copy the php.vim file to your ~/.vim/syntax directory.
- Launch
vim