I would like to hard wrap XML files during editing. In every other filetype my
set textwidth=80 works fine. But in XML something overrides the insertion of line breaks. I tried adding
formatoptions but that doesn't make a difference. I believe there is an automatic formatting command being called from the default xml filetype plugin, which overrides all else.
How can I set up vim to do automatic line breaking in XML?