I\'ve been using Vim for a while, and I can\'t get proper HTML indentation working in PHP files.
For example, what I want is for each child to be indented one tab mo
php-correct-indenting only cares about your PHP, and assumes the readability of the HTML is of no interest. An XML indenter would position the tags nicely, but wouldn't be able to indent the contents of a processing instruction to match. Maybe there is an indentation script that understands both the C-like syntax of PHP the programming language and [X][HT]ML the markup language being templated, but I've never met one yet - sorry.
Still, I'd like to fiddle with the indenting in your example even before php-correct-indenting mauled it! The
- etc. etc.