Skip to content

Commit

Permalink
Mark onlyOwnGrammar
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed Aug 22, 2018
1 parent 333e5f2 commit fc2f7bc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 50 deletions.
57 changes: 7 additions & 50 deletions tests/baselines/Issues648.baseline.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
original file
-----------------------------------
// @onlyOwnGrammar - As this has jsx
<Test
a=''
b_c='111'
Expand All @@ -9,6 +10,11 @@ original file

Grammar: TypeScriptReact.tmLanguage
-----------------------------------
>// @onlyOwnGrammar - As this has jsx
^^
source.tsx comment.line.double-slash.tsx punctuation.definition.comment.tsx
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
source.tsx comment.line.double-slash.tsx
><Test
^
source.tsx meta.tag.tsx punctuation.definition.tag.begin.tsx
Expand Down Expand Up @@ -51,53 +57,4 @@ Grammar: TypeScriptReact.tmLanguage
source.tsx meta.tag.tsx meta.tag.attributes.tsx string.quoted.single.tsx punctuation.definition.string.end.tsx
>/>
^^
source.tsx meta.tag.tsx punctuation.definition.tag.end.tsx


Grammar: TypeScript.tmLanguage
-----------------------------------
><Test
^
source.ts keyword.operator.relational.ts
^^^^
source.ts variable.other.readwrite.ts
> a=''
^^^^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts keyword.operator.assignment.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
> b_c='111'
^^^^
source.ts
^^^
source.ts variable.other.readwrite.ts
^
source.ts keyword.operator.assignment.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^^^
source.ts string.quoted.single.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
> d=''
^^^^
source.ts
^
source.ts variable.other.readwrite.ts
^
source.ts keyword.operator.assignment.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.begin.ts
^
source.ts string.quoted.single.ts punctuation.definition.string.end.ts
>/>
^
source.ts keyword.operator.arithmetic.ts
^
source.ts keyword.operator.relational.ts
source.tsx meta.tag.tsx punctuation.definition.tag.end.tsx
1 change: 1 addition & 0 deletions tests/cases/Issues648.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @onlyOwnGrammar - As this has jsx
<Test
a=''
b_c='111'
Expand Down

0 comments on commit fc2f7bc

Please sign in to comment.