almost done

This commit is contained in:
Tobe O 2018-11-12 22:36:36 -05:00
parent 4ebb7c5a10
commit 91e6651bae

View file

@ -7,22 +7,15 @@
"include": "#expressions"
},
{
"match": "!(DOCTYPE|doctype)([>]*)",
"captures": {
"1": {
"match": "\\b(DOCTYPE|doctype)\\b",
"name": "keyword.doctype.jael"
},
"2": {
"name": "support.doctype-value.jael"
}
}
},
{
"match": "[:,\\.]",
"name": "punctuation.jael"
},
{
"begin": "{{(?!-)",
"begin": "{{-?",
"end": "}}",
"beginCaptures": {
"0": {
@ -36,15 +29,33 @@
},
"patterns": [{ "include": "#expressions" }, { "include": "#operators" }]
},
{
"begin": "<\\s*(script)[^>]*>",
"end": "<\\s*/\\s*(script)[^>]*>",
"beginCaptures": {
"1": {
"name": "keyword.tag.jael"
}
},
"endCaptures": {
"1": {
"name": "keyword.tag.jael"
}
},
"patterns": [{ "include": "source.js" }]
},
{
"match": "\\b(block|declare|for-each|extend|if|include|switch)\\b",
"name": "keyword.control.jael"
},
{
"match": "<\\s*/?\\s*([A-Za-z_][A-Za-z0-9_-]*)\\b",
"match": "<\\s*/?\\s*([A-Za-z_][A-Za-z0-9_-]*)(\\s*[A-Za-z_][A-Za-z0-9_]*(?!=)\\s*)*\\b",
"captures": {
"1": {
"name": "keyword.tag.jael"
},
"2": {
"name": "storage.name.jael"
}
}
},
@ -53,7 +64,7 @@
"name": "storage.argument.jael"
},
{
"match": "\\b(@?[A-Za-z_][A-Za-z0-9_]*)=?",
"match": "\\b(@?[A-Za-z_][A-Za-z0-9_]*)=",
"captures": {
"1": {
"name": "storage.name.jael"
@ -72,6 +83,9 @@
},
{
"include": "#operators"
},
{
"include": "source.html"
}
],
"repository": {