Thom1729 / Sublime-JS-Custom

Customizable JavaScript syntax highlighting for Sublime Text.
MIT License
137 stars 9 forks source link

Support typeof imports #73

Closed nwoltman closed 5 years ago

nwoltman commented 5 years ago

Requesting support for typeof imports:

import typeof React from 'React';

import {typeof useState} from 'React';
import typeof {useState} from 'React';

import {typeof useState as UseState} from 'React';
import typeof {useState as UseState} from 'React';

Current highlighting (due to incorrect scopes):

typeof-imports

nwoltman commented 5 years ago

Thanks for supporting this!