Search code examples
vimvim-pluginxml-editor

Make delimitMate and xmledit work together


I have both delimitMate.vim and xmledit.vim installed.

When I type a tag and > to close, an extra trailing > is entered.

What I type:

<p>

What I see:

<p></p>>

delimitMate completes < to <> placing the cursor in between. Typing p creates the tag and typing > makes xmledit autocomplete the closing tag and place the cursor in between. However, an extra > is appended.

How can I prevent the extra > from appearing after the closing tag?


Solution

  • XMLedit heavliy depended on the closing > to be manually typed. This is fixed here

    https://github.com/sukima/xmledit/commit/8d72f6c606fbb238fa238aa8ac1ed887503727c5