awatson1978 / meteor-api

Meteor API with tab completion and syntax highlighting.
MIT License
80 stars 17 forks source link

Blaze.renderWithData highlighting #77

Closed rmuratov closed 10 months ago

rmuratov commented 8 years ago

blazerenderwithdata

In CoffeeScript grammar need to swap Blaze.render and Blaze.renderWithData:

  {
    'match': '(Blaze.render|Blaze.renderWithData|Blaze.remove|Blaze.getData|Blaze.toHTML|Blaze.toHTMLWithData|Blaze.isTemplate)'
    'name': 'api.meteor.blaze'
  }

The same for Blaze.toHTML and Blaze.toHTMLWithData. Not sure about other grammars.

Oh, Template.onCreated also...Only Templated.created highlighted (as well as destroyed, rendered). Have no time for PR, unfortunately, may be later.