Open wolfy1339 opened 5 years ago
I think that it might help if this was brought up to date with changes from language-javascript
Thanks @wolfy1339! Can you share a couple of small code snippets to go along with your repro steps? We just want to make sure we're on the same page.
Sure thing. Here are some:
export = () => { }
export = {}
export = []
Here's some more too:
export = new Array();
export = Buffer.from()
Great thanks @wolfy1339 :bow:
Prerequisites
Description
The
export =
syntax isn't highlightedSteps to Reproduce
export = new Array();
)Expected behavior: For the
export =
to always be highlighted using the proper scopesActual behavior: No scopes are added thus the highlighting never happens
Edit by @rsese to add screenshot
Reproduces how often: 100%
Versions
You can get this information from copy and pasting the output of
atom --version
andapm --version
from the command line. Also, please include the OS and what version of the OS you're running.Additional Information
When a variable is exported using this syntax, it gets the scope
syntax--keyword syntax--control