Skip to content

Commit

Permalink
Fix issue with JSX attributes not being colorized
Browse files Browse the repository at this point in the history
  • Loading branch information
billti committed Feb 21, 2018
1 parent 77d21fd commit aff0aba
Show file tree
Hide file tree
Showing 4 changed files with 983 additions and 9 deletions.
6 changes: 3 additions & 3 deletions TypeScript.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ settings:
settings: { vsclassificationtype: identifier }

- scope: entity.name.tag
settings: { vsclassificationtype: xml literal - name }
settings: { vsclassificationtype: HTML Element Name }

- scope: entity.other.attribute-name
settings: { vsclassificationtype: XML Attribute }
settings: { vsclassificationtype: HTML Attribute Name }

- scope: meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.escape
settings: { vsclassificationtype: xml literal - attribute value }
settings: { vsclassificationtype: HTML Attribute Value }
...
6 changes: 3 additions & 3 deletions TypeScript.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>xml literal - name</string>
<string>HTML Element Name</string>
</dict>
</dict>
<dict>
Expand All @@ -167,7 +167,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>XML Attribute</string>
<string>HTML Attribute Name</string>
</dict>
</dict>
<dict>
Expand All @@ -176,7 +176,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>xml literal - attribute value</string>
<string>HTML Attribute Value</string>
</dict>
</dict>
</array>
Expand Down
6 changes: 3 additions & 3 deletions TypeScriptReact.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>xml literal - name</string>
<string>HTML Element Name</string>
</dict>
</dict>
<dict>
Expand All @@ -167,7 +167,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>XML Attribute</string>
<string>HTML Attribute Name</string>
</dict>
</dict>
<dict>
Expand All @@ -176,7 +176,7 @@
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>xml literal - attribute value</string>
<string>HTML Attribute Value</string>
</dict>
</dict>
<dict>
Expand Down
Loading

0 comments on commit aff0aba

Please sign in to comment.