368: Added css() function syntax highlighting
This commit is contained in:
@@ -21,6 +21,29 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"patterns": [
|
"patterns": [
|
||||||
|
{
|
||||||
|
"begin": "(?i)(\\s*(css\\())(`)",
|
||||||
|
"beginCaptures": {
|
||||||
|
"1": {
|
||||||
|
"name": "entity.name.tag.html"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"end": "(`)",
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"include": "source.ts#template-substitution-element"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include": "source.css"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include": "inline.es6-htmlx#template"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"include": "string.quoted.other.template.js"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"begin": "(?i)(\\s*(addStyle\\())(`)",
|
"begin": "(?i)(\\s*(addStyle\\())(`)",
|
||||||
"beginCaptures": {
|
"beginCaptures": {
|
||||||
|
|||||||
Reference in New Issue
Block a user