awatson1978 / meteor-api

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

Meteor JS grammar only in meteor project #79

Open ndastur opened 8 years ago

ndastur commented 8 years ago

Don't know if this is possible. But it would be nice if the Meteor JS Grammar could be applied when in a meteor project but otherwise default to "normal" js grammar.

A meteor project could be detected by the presence of .meteor in root of app. This would probably need the whole app folder to be open. So maybe a setttings option of: 1) Use standard grammar 2) Always use Meteor grammar 3) Detect meteor app and use appropriate grammar

then users can decide the behaviour.