The HTML that's being returned by this PHP function doesn't have any syntax highlighting.
If I delete the
' on line 13 the HTML highlighting works (but the PHP function breaks), with it the HTML highlighting does not work.
How do I get the HTML to have its proper syntax highlighting inside of this function?
Do I want to be doing something like this? I'm having a hard time figuring out what to make of that and how I would adapt it for my situation, let alone whether or not that's the right approach.
It would be great if Vim could automatically recognize HTML inside a PHP file without having to type any hard-to-remember commands.