gandm / language-babel

ES2017, flow, React JSX and GraphQL grammar and transpilation for ATOM
https://atom.io/packages/language-babel
MIT License
476 stars 83 forks source link

Grammars are not applied on restored files #476

Closed paradoxxxzero closed 6 years ago

paradoxxxzero commented 6 years ago

With atom 1.24.0-beta-3, the babel grammar is not applied to restored at launch jsx files. (They stay with the Plain Text grammar). If I close the file and reopen it, it works as intended. I tried with other grammar packages and it works with them.

NB: It does not apply grammar at package install neither.

gandm commented 6 years ago

I don't have control over what Atom allocates as the grammar apart from specifying file types. Atom does the rest.

paradoxxxzero commented 6 years ago

I posted it here as it works with other language package I figured something might be done differently here. I'll report upstream thanks.

gandm commented 6 years ago

Thanks for reporting to Atom. Seems like their issue now so closing.