":silent 1,$!xmllint --format --recover - 2>/dev/null"
http://www.vim.org/tips/tip.php?tip_id=349
Updated vim tips URL :
http://vim.wikia.com/wiki/Format_your_xml_document_using_xmllint
Technical tid-bits and more ! Leave a comment if you found something useful.
1 comment:
Thanks for this. The new link to this info on the vim wiki is http://vim.wikia.com/wiki/Format_your_xml_document_using_xmllint
Post a Comment