Commit Graph

6 Commits

Author SHA1 Message Date
Matt Bierner
75c625d421 Patch js/ts grammars to remove special scopes for node
Fixes #94284

Now the we have semantic highlighting, we should use that to identify if a variable is really from node or not
2020-04-03 14:11:47 -07:00
ZHAO Jinxiang
352d641042 Add .cjs to known JavaScript file extensions (#85460) 2019-11-25 19:46:09 -08:00
Matt Bierner
0ae3ecbf15 Fix multiline jsdoc type highlightingFixes #27777 2019-04-11 10:05:36 -07:00
Matt Bierner
5a96f231c1 Enable ts-check 2019-04-08 17:13:10 -07:00
Matt Bierner
5ed55a8606 Don't treat dom properties as special for syntax highlighting
See https://github.com/Microsoft/TypeScript-TmLanguage/issues/691

Assuming that properties named `label` or `name` are dom properties is incorrect and causes a lot of false positives. This results in weirdly inconsistent colorization
2019-01-02 17:33:50 -08:00
Matt Bierner
e23c58b3ab Split out ts syntax and grammar to ts basics 2018-02-23 13:29:52 -08:00