title: Vim Wrong Indent When There Is Dash - in Html Tag
body: <p>When I have my custom html tag with the dash in it, Vim can't indent it correctly.</p>
  
  <pre><code>&lt;my-tag&gt;
  &lt;my-sub-tag&gt;
      this is my tag
      &lt;/my-sub-tag&gt;
      &lt;/my-tag&gt;
  </code></pre>
  
  <p>Also if I remove the dash out, Vim also indents incorrectly. </p>
  
  <pre><code>&lt;mytag&gt;
  &lt;mysubtag&gt;
  this is my tag
  &lt;/mysubtag&gt;
  &lt;/mytag&gt;
  </code></pre>
  
  <p>Unless I have standard html tags, then VIM can indent it correctly like below: </p>
  
  <pre><code>&lt;h1&gt;
      &lt;p&gt;som text&lt;/p&gt;
  &lt;/h1&gt;
  </code></pre>
  
  <p>So how can I force VIM to indent <code>&lt;my-tag&gt;</code> and <code>&lt;mytag&gt;</code> correctly like the standard HTML tag?</p>
  
  <p>Thanks </p>