Add only own grammar directive
This commit is contained in:
Родитель
cb1af7953d
Коммит
970dc1e9ee
|
@ -1,5 +1,6 @@
|
|||
original file
|
||||
-----------------------------------
|
||||
// @onlyOwnGrammar - As this has jsx
|
||||
(<View />);
|
||||
(<dot.view />);
|
||||
(<dot.View />);
|
||||
|
@ -11,6 +12,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
|
||||
>(<View />);
|
||||
^
|
||||
source.tsx meta.brace.round.tsx
|
||||
|
@ -141,175 +147,4 @@ Grammar: TypeScriptReact.tmLanguage
|
|||
^
|
||||
source.tsx meta.brace.round.tsx
|
||||
^
|
||||
source.tsx punctuation.terminator.statement.tsx
|
||||
|
||||
|
||||
Grammar: TypeScript.tmLanguage
|
||||
-----------------------------------
|
||||
>(<View />);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^^
|
||||
source.ts cast.expr.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<dot.view />);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^^
|
||||
source.ts cast.expr.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<dot.View />);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^^
|
||||
source.ts cast.expr.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<dot.View />);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^^
|
||||
source.ts cast.expr.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<View></View>);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<dot.View></dot.View>);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
>(<dot.View><b>bold</b></dot.View>);
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^^^^
|
||||
source.ts variable.other.readwrite.ts
|
||||
^
|
||||
source.ts keyword.operator.relational.ts
|
||||
^
|
||||
source.ts keyword.operator.arithmetic.ts
|
||||
^
|
||||
source.ts variable.other.readwrite.ts
|
||||
^
|
||||
source.ts keyword.operator.relational.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts cast.expr.ts
|
||||
^^^
|
||||
source.ts cast.expr.ts entity.name.type.module.ts
|
||||
^
|
||||
source.ts cast.expr.ts punctuation.accessor.ts
|
||||
^^^^
|
||||
source.ts cast.expr.ts entity.name.type.ts
|
||||
^
|
||||
source.ts cast.expr.ts meta.brace.angle.ts
|
||||
^
|
||||
source.ts meta.brace.round.ts
|
||||
^
|
||||
source.ts punctuation.terminator.statement.ts
|
||||
source.tsx punctuation.terminator.statement.tsx
|
|
@ -1,3 +1,4 @@
|
|||
// @onlyOwnGrammar - As this has jsx
|
||||
(<View />);
|
||||
(<dot.view />);
|
||||
(<dot.View />);
|
||||
|
|
Загрузка…
Ссылка в новой задаче