vim-syntax-for-PHP icon indicating copy to clipboard operation
vim-syntax-for-PHP copied to clipboard

Broken syntax highlighting for phtml files

Open robertbasic opened this issue 8 years ago • 1 comments

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!

robertbasic avatar Mar 08 '16 09:03 robertbasic

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?

2072 avatar Oct 01 '16 21:10 2072