2023-05-21 10:25:47 -05:00
|
|
|
{
|
2023-06-21 12:08:00 -05:00
|
|
|
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
|
|
|
|
"scopeName": "source.rustdoc.markdown.injection",
|
2023-05-21 10:25:47 -05:00
|
|
|
"injectionSelector": "L:source.rust",
|
|
|
|
"patterns": [
|
|
|
|
{
|
|
|
|
"include": "#doc-comment-line"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"repository": {
|
|
|
|
"doc-comment-line": {
|
|
|
|
"name": "comment.line.documentation.rust",
|
|
|
|
"begin": "^\\s*//(/|!)",
|
2023-06-21 12:08:00 -05:00
|
|
|
"end": "$",
|
2023-05-21 10:25:47 -05:00
|
|
|
"contentName": "meta.embedded.block.markdown",
|
|
|
|
"patterns": [
|
|
|
|
{
|
|
|
|
"include": "text.html.markdown"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|