368: Added css() function syntax highlighting

This commit is contained in:
metacryst
2023-11-04 19:34:17 -05:00
parent e1ce1ce4cc
commit 14ee28ccec

View File

@@ -21,6 +21,29 @@
}
},
"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\\())(`)",
"beginCaptures": {