title: Indenting of ERB tags in Vim
body: <p>I recently switched over to Vim and after the initial hurdle I really like it. The only thing that might be a deal killer for me is the auto indents for erb tags being all messed up. I'm using the Janus plugin package which includes ruby.vim and rails.vim. I also added the html5.vim because someone told me it could help with that.</p>
  
  <p>Here's and example of the messed up indents it does:</p>
  
  <pre><code>  &lt;% unless @zipcode.latitude.blank? %&gt;
      &lt;p&gt;
    &lt;b&gt;Latitude:&lt;/b&gt;
    &lt;%= @zipcode.latitude %&gt;
    &lt;/p&gt;
  &lt;% end %&gt;
  
    &lt;p&gt;
    &lt;b&gt;Longitude:&lt;/b&gt;
    &lt;%= @zipcode.longitude %&gt;
    &lt;/p&gt;
  </code></pre>
  
  <p>Any suggestions at all would be much appreciated. It seems like there has to be a way to make a powerful editor like vim indent right. I'd hate to go back to sublime or aptana but this is a feature I really don't want to live without.</p>