sublimelsp / LSP-typescript

TypeScript, JavaScript support for Sublime LSP plugin
MIT License
136 stars 11 forks source link

Broken syntax highlight in .tsx files #81

Closed mzaharie closed 3 years ago

mzaharie commented 3 years ago

Using arrow functions with generic typing breaks the syntax highlighter.

See line 23

Screenshot 2021-08-18 at 11 36 31
rchl commented 3 years ago

Syntax highlighting is not handled by this package.

Make sure you are using the built-in syntax from ST4 and not some other one. Remove packages TypeScript and TypeScript Syntax if you have those installed.

mzaharie commented 3 years ago

Only have LSP-typescript. Then I guess it's from ST itself

rchl commented 3 years ago

If it's ST4 and you are using built-in TSX syntax then the https://github.com/sublimehq/Packages/issues would be the place to report it.