forked from ptweir/python-string-sql
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhighlight-html-string.json
More file actions
57 lines (57 loc) · 1.29 KB
/
highlight-html-string.json
File metadata and controls
57 lines (57 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"fileTypes": [
"py"
],
"injectionSelector": "L:string.quoted.multi.python, L:meta.fstring.python - (comment.line.number-sign.python, punctuation.definition.comment.python)",
"repository": {
"keep-variables": {
"patterns": [
{
"begin": "\\{",
"end": "\\}",
"beginCaptures": {
"1": {
"name": "punctuation.section.embedded.begin.py"
},
"2": {
"name": "punctuation.section.embedded"
}
},
"endCaptures": {
"1": {
"name": "punctuation.section.embedded.end.py"
},
"2": {
"name": "punctuation.section.embedded"
}
},
"patterns": [
{
"include": "text.html.derivative"
}
]
}
]
}
},
"patterns": [
{
"begin": "( *--html| *--beginhtml| *--begin-html)",
"end": "( *--\\!html| *--endhtml| *--end-html)",
"captures": {
"1": {
"name": "variable.parameter"
}
},
"patterns": [
{
"include": "text.html.derivative"
},
{
"include": "#keep-variables"
}
]
}
],
"scopeName": "python-html.injection"
}