ternjs / tern_for_sublime

Sublime Text package adding Tern support
MIT License
801 stars 52 forks source link

Enable for babel javascript syntax #71

Closed tinkertrain closed 9 years ago

tinkertrain commented 9 years ago

Hello!

First of all thanks for the great work on the plugin.

I was just wondering if it's possible to enable it when using a different JS syntax highlighter? I'm using the Babel JS one (which is superior than the normal one and supports es6 much better), if it is, how would I do it?

Thanks!

marijnh commented 9 years ago

I did not think useage of Tern was in any way related to the highlighter you use (but then, I don't know much about Sublime). Does the Babel highlighter cause a different selector (as in source.js) to be applied to JS code?

wavded commented 9 years ago

@tinkertrain I use babel syntax highlighting with tern without issue. Tern really doesn't have anything to do with what syntax scheme you select in my experience.

tinkertrain commented 9 years ago

You are right! Thanks a lot I think I had another unrelated issue....