I'd like to use HTML5 Tags in PHP, but Vim can't recognize them. I have installed this plugin: http://www.vim.org/scripts/script.php?script_id=3236 But this plugin doesn't support PHP files. What can I do?
Look at this:
There is the HTML5 Syntax File.
Vim may not be detecting that there is HTML inside of your PHP file. Have you tried manually setting the filetype?
:set ft=html.php
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.