facebookarchive / ide-flowtype

Flow support for Atom IDE
Other
178 stars 17 forks source link

Add source.flow to grammar scopes #75

Closed mcous closed 5 years ago

mcous commented 5 years ago

Atom v1.32.0 enabled a new file type parser by default which classifies files marked with the @flow pragma as "Flow JavaScript" (source.flow) rather than "JavaScript" (source.js).

This PR adds source.flow to the grammar scopes list, which closes #74. In the future, it would be cool if the scopes array was configurable (and I'd be happy to open a PR if it's desired functionality), but for now this gets ide-flowtype working again on v1.32.0.

P.S. Thanks for your hard work on this project!

mcous commented 5 years ago

Appreciate the merge! @mostafaeweda do you know when this will make it to a release?

mostafaeweda commented 5 years ago

@mcous I just pushed a new release v0.24.0