Closed willxy closed 6 years ago
Whilst this is not very useful to many, you can work your way around it by running the following code:
syn region phpRegion start=@^@ end=@$@ contains=@phpClTop
This will make phpRegion
work across the file which will then trigger highlighting.
I'll give that a shot. Thanks!
Edit: Works perfect. Thanks again!
Is there a way to enable highlighting on files that don't begin with
<?php
?Eg: https://stackoverflow.com/questions/28957726/vims-php-syntax-highlighting-ignores-non-scripty-php-files