juvenn / mustache.vim

Vim mode for mustache and handlebars (Deprecated)
github.com/mustache/vim-mode
125 stars 14 forks source link

Allow HTML fragments #12

Closed davidosomething closed 10 years ago

davidosomething commented 10 years ago

for instance:

<tr data-id="{{id}}" class="cart-item">
  <th>{{name}}</th>
  <td>{{quantity}}</td>
</tr>

will throw a syntax error because the template doesn't have a <table> tag around it, but I'm just generating TRs for an existing table.

bruno- commented 10 years ago

Hi @davidosomething, I think you reported a problem to the wrong open source project. I'm guessing there are problems with a framework you are using.. This project is a vim plugin and only provides syntax highlighting for mustache files.

Just to make sure - I did check the code chunk you provided and there is nothing unusual with it. The syntax highlighting for it is ok within a mustache file.

Please let me know if I'm missing the point - in the meanwhile I'm closing the issue.

davidosomething commented 10 years ago

Oh crap yea my bad.