Source file tm_grammar_jinja_html.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
let lang_id = "jinja-html"
let json = {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"
}|json}