tm-grammars
Version:
Collecton of TextMate grammars in JSON
17 lines (16 loc) • 534 B
JSON
{
"displayName": "jinja-html",
"firstLineMatch": "^\\{% extends [\"'][^\"']+[\"'] %}",
"foldingStartMarker": "(<(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|\\{%\\s*(block|filter|for|if|macro|raw))",
"foldingStopMarker": "(</(?i:(head|table|tr|div|style|script|ul|ol|form|dl))\\b.*?>|\\{%\\s*(end(?:block|filter|for|if|macro|raw))\\s*%})",
"name": "jinja-html",
"patterns": [
{
"include": "source.jinja"
},
{
"include": "text.html.basic"
}
],
"scopeName": "text.html.jinja"
}