File tree Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Expand file tree Collapse file tree 3 files changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -10,11 +10,7 @@ uuid: 805375ec-d614-41f5-8993-5843fe63ea82
10
10
11
11
repository :
12
12
# Additions:
13
- # statements and expression repository need to include jsx first followed by whaterver ts grammar says
14
- statements :
15
- patterns :
16
- - include : ' #jsx'
17
-
13
+ # expression repository need to include jsx first followed by whaterver ts grammar says
18
14
expression :
19
15
patterns :
20
16
- include : ' #jsx'
Original file line number Diff line number Diff line change 25
25
<dict >
26
26
<key >patterns </key >
27
27
<array >
28
- <dict >
29
- <key >include </key >
30
- <string >#jsx </string >
31
- </dict >
32
28
<dict >
33
29
<key >include </key >
34
30
<string >#string </string >
Original file line number Diff line number Diff line change @@ -49,9 +49,8 @@ function changeTsToTsxGrammar(grammar: any) {
49
49
const updatesRepository = tsxUpdates . repository ;
50
50
for ( let key in updatesRepository ) {
51
51
switch ( key ) {
52
- case "statements" :
53
52
case "expression" :
54
- // Update statements/ expression
53
+ // Update expression
55
54
repository [ key ] . patterns . unshift ( updatesRepository [ key ] . patterns [ 0 ] ) ;
56
55
break ;
57
56
default :
You can’t perform that action at this time.
0 commit comments