Vim is an excellent text editor that can do amazing stuffs.
When the web server is configured to treat html as php file, the vim editor needs to configured to recognize all the php functions within the html. To do that,
Code:
to open the configure file.
and add one file to the bottom
Code:
| autocmd FileType html set syntax=php |
The latest vim has syntax turned on automatically anyway. If not, add this line to your config file
Code: