Skip to content

Commit 7cd1362

Browse files
committed
Mark onlyOwnGrammar
1 parent 1004a7b commit 7cd1362

File tree

2 files changed

+8
-50
lines changed

2 files changed

+8
-50
lines changed
Lines changed: 7 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
original file
22
-----------------------------------
3+
// @onlyOwnGrammar - As this has jsx
34
<Test
45
a=''
56
b_c='111'
@@ -9,6 +10,11 @@ original file
910

1011
Grammar: TypeScriptReact.tmLanguage
1112
-----------------------------------
13+
>// @onlyOwnGrammar - As this has jsx
14+
^^
15+
source.tsx comment.line.double-slash.tsx punctuation.definition.comment.tsx
16+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17+
source.tsx comment.line.double-slash.tsx
1218
><Test
1319
^
1420
source.tsx meta.tag.tsx punctuation.definition.tag.begin.tsx
@@ -51,53 +57,4 @@ Grammar: TypeScriptReact.tmLanguage
5157
source.tsx meta.tag.tsx meta.tag.attributes.tsx string.quoted.single.tsx punctuation.definition.string.end.tsx
5258
>/>
5359
^^
54-
source.tsx meta.tag.tsx punctuation.definition.tag.end.tsx
55-
56-
57-
Grammar: TypeScript.tmLanguage
58-
-----------------------------------
59-
><Test
60-
^
61-
source.ts keyword.operator.relational.ts
62-
^^^^
63-
source.ts variable.other.readwrite.ts
64-
> a=''
65-
^^^^
66-
source.ts
67-
^
68-
source.ts variable.other.readwrite.ts
69-
^
70-
source.ts keyword.operator.assignment.ts
71-
^
72-
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
73-
^
74-
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
75-
> b_c='111'
76-
^^^^
77-
source.ts
78-
^^^
79-
source.ts variable.other.readwrite.ts
80-
^
81-
source.ts keyword.operator.assignment.ts
82-
^
83-
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
84-
^^^
85-
source.ts string.quoted.single.ts
86-
^
87-
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
88-
> d=''
89-
^^^^
90-
source.ts
91-
^
92-
source.ts variable.other.readwrite.ts
93-
^
94-
source.ts keyword.operator.assignment.ts
95-
^
96-
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
97-
^
98-
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
99-
>/>
100-
^
101-
source.ts keyword.operator.arithmetic.ts
102-
^
103-
source.ts keyword.operator.relational.ts
60+
source.tsx meta.tag.tsx punctuation.definition.tag.end.tsx

tests/cases/Issues648.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// @onlyOwnGrammar - As this has jsx
12
<Test
23
a=''
34
b_c='111'

0 commit comments

Comments
 (0)