vim-syntax-for-PHP
vim-syntax-for-PHP copied to clipboard
Broken syntax highlighting for phtml files
Hello!
Is there any way to get back syntax highlighting for phtml files?
For template files where we mix HTML and PHP with this plugin it's only either PHP or HTML syntax highlighted.
Using the "built-in" php.vim syntax file does it correctly.
Thanks!
That might be related to this commit: https://github.com/2072/vim-syntax-for-PHP/commit/cac5cd974c89ac9b54fd78601a06e73aa0cafe96 Does it work if you put your PHP end tag at he beginning of the line?