简体   繁体   中英

Vim cannot recognise HTML5 tags in PHP

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?

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM