Fix the theme files for attribute value colorization

This commit is contained in:
Sheetal Nandi 2016-11-07 15:58:23 -08:00
Родитель 53936e20c9
Коммит 5e50d11621
4 изменённых файлов: 15 добавлений и 3 удалений

Просмотреть файл

@ -54,6 +54,6 @@ settings:
- scope: entity.other.attribute-name
settings: { vsclassificationtype: xml literal - attribute name }
- scope: meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.entity, meta.tag string.quoted constant.character.entity punctuation.definition.entity
- 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 }
...

Просмотреть файл

@ -172,7 +172,7 @@
</dict>
<dict>
<key>scope</key>
<string>meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.entity, meta.tag string.quoted constant.character.entity punctuation.definition.entity</string>
<string>meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.escape</string>
<key>settings</key>
<dict>
<key>vsclassificationtype</key>

Просмотреть файл

@ -7,6 +7,9 @@ uuid: ef98eb90-bf9b-11e4-bb52-0800200c9a66
settings:
# Additions
- scope: meta.tag string.quoted constant.character.entity.tsx, meta.tag string.quoted constant.character.entity.tsx punctuation.definition.entity.tsx
settings: { vsclassificationtype: xml literal - attribute value }
- scope: meta.jsx.children.tsx, constant.character.entity.tsx, punctuation.definition.entity.tsx, invalid.illegal.bad-ampersand.tsx
settings: { vsclassificationtype: xml literal - text }

Просмотреть файл

@ -172,7 +172,16 @@
</dict>
<dict>
<key>scope</key>
<string>meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.entity, meta.tag string.quoted constant.character.entity punctuation.definition.entity</string>
<string>meta.tag string.quoted, meta.tag string.quoted punctuation.definition.string, meta.tag string.quoted constant.character.escape</string>
<key>settings</key>
<dict>
<key>vsclassificationtype</key>
<string>xml literal - attribute value</string>
</dict>
</dict>
<dict>
<key>scope</key>
<string>meta.tag string.quoted constant.character.entity.tsx, meta.tag string.quoted constant.character.entity.tsx punctuation.definition.entity.tsx</string>
<key>settings</key>
<dict>
<key>vsclassificationtype</key>