Sublime text 3 - React & FlowType syntax support, white syntax after type definition

Viewed 1249

Anybody has this issue before? I do not know how to explain so please see the picture here:

Thank you so much for your time and your help!

5 Answers

You can now simply install the Naomi package:

https://github.com/borela/naomi

All in one package, you get support for:

  • CSS 3+;
  • JavaScript;
    • Stage 0-3 proposals;
    • Node globals;
    • Jest globals;
    • Flow;
    • JSX with complete support for Emmet;
  • HTML 5+;
  • MQL4 (Updating);
  • Jest Snapshot;
  • PHP 7+ (Updating);
  • SCSS (Updating);

I had this issue and found that it works if you put a semicolon after your closing bracket of the type definition.

Related