I am using the terrific NrrwRgn plugin. I often edit XML files with PHP in CDATA sections, so in the narrowed buffer I get this:
<![CDATA[
$foo='bar';
doSomething($foo);
]]>
How can I have the narrowed region identified as PHP when it is PHP and as XML or something else when it is something else? Note that even in this example, by selecting the PHP section with vit\nr the CDATA tags are still there, so technically this is not-well-formed XML, not PHP.