microsoft / TypeScript-TmLanguage

TextMate grammar files for TypeScript for VS Code, Sublime Text, and Atom.
MIT License
411 stars 125 forks source link

Highlighting broken for "/*" '/*' and `/*` #235

Closed aeschli closed 8 years ago

aeschli commented 8 years ago

From @DavidSouther on August 7, 2016 15:18

Steps to Reproduce:

  1. Insert the string '/' `/` or "/*" in a Tyepscript file
  2. The rest of the file is highlighted as a comment, to the next */

screen shot 2016-08-07 at 11 14 18 am

Copied from original issue: Microsoft/vscode#10273

aeschli commented 8 years ago

From @DavidSouther on August 7, 2016 15:18

Oh hey, it looks like github has the same issue!

aeschli commented 8 years ago

I reproduced with the following code snippet: class A { @Route.GET('/*') get(q: Request, s: Response): void { s.sendFile(); } }

sheetalkamat commented 8 years ago

Fixed by #257