I notice the syntax file for PHP for vim is quite out-dated.
Does anyone know where is these syntax file located in Mac so I can do the upgrade?
Mac – How to update PHP syntax file for vim
macvim
Related Question
- Mac – Replaced /usr/bin/vim – now I get error messages
- Mac – How to enable Syntax highlighting on Vim in Mac OS Terminal
- Mac – How to jump to a topic in vim under Terminal for a French Keyboard
- Mac – Saving files on lost focus in console Vim
- Mac – Where VIM keep its recordings
- MacOS – vim does not accept syntax in vimrc
- Mac – How to improve into vim of MacOS Mojave the speed of vertical scroll with bottom/up keys
Best Answer
Solved myself,
here are the steps :-
locate vim | grep php
/usr/share/vim/vim73/syntax/php.vim
sudo mv /usr/share/vim/vim73/syntax/php.vim /usr/share/vim/vim73/autoload/phpcomplete.vim.orig
as backup