Vanilla 1.1.1 is a product of Lussumo. More Information: Documentation, Community Support.
Highlighling depends on theme you are using. Just try another one, compare them add add missed rule to yours.
Quite a few do it,take a look at Active4D. This is the code you need:
title : 'Tag attribute'
scope : 'entity.other.attribute-name'
settings : {
foreground : '#963DFF'
}
The trick is that other selector in the theme is stronger and is overriding yours. The selector is here:
/******************************************************/
/* meta.tag */
/******************************************************/
{
title : 'meta.tag'
scope : 'meta.tag, meta.tag entity'
settings : {
foreground : '#7F90AA'
}
}
The “meta.tag entity” is stronger than yours “entity.other.attribute-name”. So you have to remove the “meta.tag entity” from the scope selector in meta.tag rule and it should work.
/******************************************************/
/* Markup tag attribute name */
/******************************************************/
{
title : 'Markup tag attribute name'
scope : 'meta.tag.xml entity.other.attribute-name.xml'
settings : {
foreground : '#D5E0F3'
}
}
1 to 7 of 7