File tree Expand file tree Collapse file tree 5 files changed +45
-0
lines changed Expand file tree Collapse file tree 5 files changed +45
-0
lines changed Original file line number Diff line number Diff line change @@ -172,6 +172,8 @@ repository:
172
172
match : ' {{startOfIdentifier}}(else|if){{endOfIdentifier}}'
173
173
- name : keyword.control.with.ts
174
174
match : ' {{startOfIdentifier}}(with){{endOfIdentifier}}'
175
+ - name : keyword.control.ts
176
+ match : ' {{startOfIdentifier}}(package){{endOfIdentifier}}'
175
177
- name : keyword.other.debugger.ts
176
178
match : ' {{startOfIdentifier}}(debugger){{endOfIdentifier}}'
177
179
- name : storage.modifier.ts
Original file line number Diff line number Diff line change 200
200
<key >match </key >
201
201
<string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(with)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
202
202
</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 >
203
209
<dict >
204
210
<key >name </key >
205
211
<string >keyword.other.debugger.ts </string >
Original file line number Diff line number Diff line change 200
200
<key >match </key >
201
201
<string >(?< ![_$[:alnum:]])(?:(?< =\.\.\.)|(?< !\.))(with)(?![_$[:alnum:]])(?:(?=\.\.\.)|(?!\.)) </string >
202
202
</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 >
203
209
<dict >
204
210
<key >name </key >
205
211
<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