Syntax highlighting for VIM
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Wordpress VIM Syntax Highlighting

For more information checkout my blog post here:

Basically what you need to do is place the wordpress.vim in your .vim/syntax folder then when editing a wordpress php file run in your editor:

    :set syn=wordpress

Or simply setup in your vimrc file:

    autocmd BufEnter *.php :set syn=wordpress