When editing xml, lines are indented when pressing (among others)
<CR> according to the
indentkeys setting. For example:
If the cursor is on
| and I press
> is inserted and the line gets indented properly:
So far so good.
However, when I use omni-completion, it doesn't work. For example:
If I now press
<C-X><C-O><C-Y> to trigger omni-completion and accept the result, I end up with this:
How can I arrange that the line is properly and automatically indented? I'd prefer not to define any mappings, if possible.