Chris Olsen 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
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to