File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ repository:
172172 match : ' {{startOfIdentifier}}(else|if){{endOfIdentifier}}'
173173 - name : keyword.control.with.ts
174174 match : ' {{startOfIdentifier}}(with){{endOfIdentifier}}'
175+ - name : keyword.control.ts
176+ match : ' {{startOfIdentifier}}(package){{endOfIdentifier}}'
175177 - name : keyword.other.debugger.ts
176178 match : ' {{startOfIdentifier}}(debugger){{endOfIdentifier}}'
177179 - name : storage.modifier.ts
Original file line number Diff line number Diff line change 200200 <key >match </key >
201201 <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(with)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
202202 </dict >
203+ <dict >
204+ <key >name </key >
205+ <string >keyword.control.ts </string >
206+ <key >match </key >
207+ <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(package)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
208+ </dict >
203209 <dict >
204210 <key >name </key >
205211 <string >keyword.other.debugger.ts </string >
Original file line number Diff line number Diff line change 200200 <key >match </key >
201201 <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(with)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
202202 </dict >
203+ <dict >
204+ <key >name </key >
205+ <string >keyword.control.tsx </string >
206+ <key >match </key >
207+ <string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(package)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
208+ </dict >
203209 <dict >
204210 <key >name </key >
205211 <string >keyword.other.debugger.tsx </string >
Original file line number Diff line number Diff line change 1+ original file
2+ -----------------------------------
3+ eval;
4+ eval();
5+ package;
6+ -----------------------------------
7+
8+ Grammar: TypeScript.tmLanguage
9+ -----------------------------------
10+ >eval;
11+ ^^^^
12+ source.ts variable.other.readwrite.ts
13+ ^
14+ source.ts punctuation.terminator.statement.ts
15+ >eval();
16+ ^^^^
17+ source.ts meta.function-call.ts support.function.ts
18+ ^
19+ source.ts meta.brace.round.ts
20+ ^
21+ source.ts meta.brace.round.ts
22+ ^
23+ source.ts punctuation.terminator.statement.ts
24+ >package;
25+ ^^^^^^^
26+ source.ts keyword.control.ts
27+ ^
28+ source.ts punctuation.terminator.statement.ts
Original file line number Diff line number Diff line change 1+ eval ;
2+ eval ( ) ;
3+ package ;
You can’t perform that action at this time.
0 commit comments