almost done
This commit is contained in:
parent
4ebb7c5a10
commit
91e6651bae
1 changed files with 26 additions and 12 deletions
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue