This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
Prerequisites
Description
The export = syntax isn't highlighted
Steps to Reproduce
- Create a new TypeScript file
- export an inline declaration (an object, a function, a string, etc.) (e.g.
export = new Array();)
- move that inline assignment to a variable, and export that variable
- Note difference in scopes and highlighting
Expected behavior: For the export = to always be highlighted using the proper scopes
Actual 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 and apm --version from the command line. Also, please include the OS and what version of the OS you're running.
$ atom --version
Atom : 1.35.0-nightly1
Electron: 2.0.14
Chrome : 61.0.3163.100
Node : 8.9.3
$ apm --version
apm 2.1.3
npm 6.2.0
node 8.9.3 x64
atom 1.35.0-nightly1
python 2.7.15
git 2.19.2.windows.1
visual studio 2015
Additional Information
When a variable is exported using this syntax, it gets the scope syntax--keyword syntax--control