StanAngeloff / php.vim

An up-to-date Vim syntax for PHP (7.x supported)
477 stars 69 forks source link

<?php inside <script> breaks syntax for the rest of the function #84

Open ollpu opened 6 years ago

ollpu commented 6 years ago

Demonstration: pic

If the <?php-tag is inside a function, it won't affect highlighting outside of that function.

EDIT: Oops, the row with <?php doesn't have a semicolon at the end. This shouldn't (and doesn't seem to) matter, though.

StanAngeloff commented 5 years ago

I've taken a stab at this now on multiple occasions but have not made much progress. Leaving issue open and accepting help via PRs