File tree 4 files changed +26
-22
lines changed
4 files changed +26
-22
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,15 @@ variables:
140
140
patterns :
141
141
- include : ' #directives'
142
142
- include : ' #statements'
143
- - name : comment.line.shebang.ts
144
- match : \A(#!).*(?=$)
145
- captures :
146
- ' 1 ' : { name: punctuation.definition.comment.ts }
143
+ - include : ' #shebang'
147
144
148
145
repository :
146
+ shebang :
147
+ name : comment.line.shebang.ts
148
+ match : \A(#!).*(?=$)
149
+ captures :
150
+ ' 1 ' : { name: punctuation.definition.comment.ts }
151
+
149
152
statements :
150
153
patterns :
151
154
- include : ' #declaration'
Original file line number Diff line number Diff line change 22
22
<key >include </key >
23
23
<string >#statements </string >
24
24
</dict >
25
+ <dict >
26
+ <key >include </key >
27
+ <string >#shebang </string >
28
+ </dict >
29
+ </array >
30
+ <key >repository </key >
31
+ <dict >
32
+ <key >shebang </key >
25
33
<dict >
26
34
<key >name </key >
27
35
<string >comment.line.shebang.ts </string >
36
44
</dict >
37
45
</dict >
38
46
</dict >
39
- </array >
40
- <key >repository </key >
41
- <dict >
42
47
<key >statements </key >
43
48
<dict >
44
49
<key >patterns </key >
Original file line number Diff line number Diff line change 22
22
<key >include </key >
23
23
<string >#statements </string >
24
24
</dict >
25
+ <dict >
26
+ <key >include </key >
27
+ <string >#shebang </string >
28
+ </dict >
29
+ </array >
30
+ <key >repository </key >
31
+ <dict >
32
+ <key >shebang </key >
25
33
<dict >
26
34
<key >name </key >
27
- <string >comment.line.shebang.ts </string >
35
+ <string >comment.line.shebang.tsx </string >
28
36
<key >match </key >
29
37
<string >\A(#!).*(?=$) </string >
30
38
<key >captures </key >
31
39
<dict >
32
40
<key >1 </key >
33
41
<dict >
34
42
<key >name </key >
35
- <string >punctuation.definition.comment.ts </string >
43
+ <string >punctuation.definition.comment.tsx </string >
36
44
</dict >
37
45
</dict >
38
46
</dict >
39
- </array >
40
- <key >repository </key >
41
- <dict >
42
47
<key >statements </key >
43
48
<dict >
44
49
<key >patterns </key >
Original file line number Diff line number Diff line change @@ -9,13 +9,4 @@ Grammar: TypeScript.tmLanguage
9
9
^^
10
10
source.ts comment.line.shebang.ts punctuation.definition.comment.ts
11
11
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
- source.ts comment.line.shebang.ts
13
-
14
-
15
- Grammar: TypeScriptReact.tmLanguage
16
- -----------------------------------
17
- >#!/usr/bin/env node -r babel-register
18
- ^^
19
- source.tsx comment.line.shebang.ts punctuation.definition.comment.ts INCORRECT_SCOPE_EXTENSION
20
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
21
- source.tsx comment.line.shebang.ts INCORRECT_SCOPE_EXTENSION
12
+ source.ts comment.line.shebang.ts
You can’t perform that action at this time.
0 commit comments