microsoft / TypeScript-Sublime-Plugin

IO wrapper around TypeScript language services, allowing for easy consumption by editor plugins
Apache License 2.0
1.72k stars 235 forks source link

Different syntax highlighting for custom react components and standard html elements #634

Closed heatherbooker closed 6 years ago

heatherbooker commented 6 years ago

Hi,

I just noticed different syntax highlighting today - now custom components in JSX get different treatment than standard HTML elements. I don't recall updating anything, and I don't really even know whether this is due to a change in this package or somewhere else.

For example:

<div> // this one is blue
  <MagicalCustomComponent /> // this one is red and bold
  <span /> // blue again
</div> // blue

Could it be due to #633 's changes to the language file(s)? https://github.com/Microsoft/TypeScript-Sublime-Plugin/pull/633/commits/dd7a9c035f8d8b100515ad421abcea539abd1724

If it's due to this plugin, is there a way to turn it off or downgrade? I would really really appreciate it. Thanks for any help!