Vim: What html plugin do you use to help you close tags?

I have tried to use the closetag.vim, but would always get numerous
errors when pressing ctrl-_ that I would have to click the enter key for
each of the errors before it would finally close the tag for me.

I started using xml.vim which works great for normal xml/html files, but
always creates a closing “tag” when I am passing hash params to a
function.
ex. <%= link_to “foo”, some_url, :class => “bar” %>
results in after entering the > character:
<%= link_to “foo”, some_url, :class => </%=>

Is there a better plugin that I should be using?

Thanks for the help.

Chris O. wrote:

I have tried to use the closetag.vim, but would always get numerous
errors when pressing ctrl-_ that I would have to click the enter key for
each of the errors before it would finally close the tag for me.

I started using xml.vim which works great for normal xml/html files, but
always creates a closing “tag” when I am passing hash params to a
function.
ex. <%= link_to “foo”, some_url, :class => “bar” %>
results in after entering the > character:
<%= link_to “foo”, some_url, :class => </%=>

Is there a better plugin that I should be using?

Thanks for the help.

Tim Pope’s allml.vim plugin works quite well
http://www.vim.org/scripts/script.php?script_id=1896