Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
microsoft
GitHub Repository: microsoft/vscode
Path: blob/main/extensions/html/syntaxes/html-derivative.tmLanguage.json
3314 views
1
{
2
"information_for_contributors": [
3
"This file has been converted from https://github.com/textmate/html.tmbundle/blob/master/Syntaxes/HTML%20%28Derivative%29.tmLanguage",
4
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
5
"Once accepted there, we are happy to receive an update request."
6
],
7
"version": "https://github.com/textmate/html.tmbundle/commit/390c8870273a2ae80244dae6db6ba064a802f407",
8
"name": "HTML (Derivative)",
9
"scopeName": "text.html.derivative",
10
"injections": {
11
"R:text.html - (comment.block, text.html meta.embedded, meta.tag.*.*.html, meta.tag.*.*.*.html, meta.tag.*.*.*.*.html)": {
12
"comment": "Uses R: to ensure this matches after any other injections.",
13
"patterns": [
14
{
15
"match": "<",
16
"name": "invalid.illegal.bad-angle-bracket.html"
17
}
18
]
19
}
20
},
21
"patterns": [
22
{
23
"include": "text.html.basic#core-minus-invalid"
24
},
25
{
26
"begin": "(</?)(\\w[^\\s<>]*)(?<!/)",
27
"beginCaptures": {
28
"1": {
29
"name": "punctuation.definition.tag.begin.html"
30
},
31
"2": {
32
"name": "entity.name.tag.html"
33
}
34
},
35
"end": "((?: ?/)?>)",
36
"endCaptures": {
37
"1": {
38
"name": "punctuation.definition.tag.end.html"
39
}
40
},
41
"name": "meta.tag.other.unrecognized.html.derivative",
42
"patterns": [
43
{
44
"include": "text.html.basic#attribute"
45
}
46
]
47
}
48
]
49
}
50